Hi all,
I am trying to set a flow that when an item get deleted in list A the same item gets deleted in list B. But, apparently the flow fails with the error "Notfound".
Now, I have done another flow that works perfectly for creating and updating the items in list A and B. Even the path code is the same:
Update step code:
"
{
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['shared_sharepointonline']['connectionId']"
}
},
"method": "patch",
"body": {
"Title": "@triggerBody()?['va2g']",
"JobTitle": "@variables('Job Title')",
"CompanyPhonetic": "@{triggerBody()?['CorrelationID']}"
},
"authentication": "@parameters('$authentication')"
},
"metadata": {
"flowSystemMetadata": {
"swaggerOperationId": "PatchItem"
}
}
}"
Delete step code:
"{
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['shared_sharepointonline']['connectionId']"
}
},
"method": "delete",
"authentication": "@parameters('$authentication')"
},
"metadata": {
"flowSystemMetadata": {
"swaggerOperationId": "DeleteItem"
}
}
}
"
Why is one working and the other not?