Hello,
I've build a Flow which gets a list of items from Finance & Operations and deletes the records found.
This works as expected until we change the default company of the service account with which the connection was made.
The flow returns"An error has occurred. No resources were found when selecting for update." because it didn't find the records in the company where the service account is currently set up for, even though the Company code (DataAreaID) is included in the record ID we're trying to delete.
The 'List items in table' action can be set to cross company, but this is not possible for the 'Delete a record' action.
I found a workaround where you change the Company of the service account in the Flow itself, but this could lead to timing issues when multiple companies use multiple flows where this logic is applied.
Looking for some inspiration on how to solve with this and couldn't find much on the forums.
Ideally you'd want to be able to set "&cross-company=true" but this seems impossible.
I hope someone can inspire me 😊
Peter


Report
All responses (
Answers (