I'm having an issue whereby my Flow will run successfuly but still (for some reason) not run the 'Update Item' connector... which is the most important part of the Flow.
Any advice/suggestions would be greatly appreciated.
Could you supply more detail on what is controlling the Apply to each and how your update item is configured?
I assume the id in your update is coming from the Get unique request ticket action before the loop. If that's the case then the problem isn't that your update isn't running. Its that the update runs each time the loop cycles and you are over-writing earlier updates. So the only one you are actually getting is the last one in the loop, which is probably empty so it looks like the update didn't run.
Hi @CameronTCD ,
Since you have configured Filter Query, Get items actions only returns items that match the criteria.
Apply to each 2 traverses the collection of items returned by Get items. If the body returned by Get items is empty, the action in Apply to each 2 will not be executed.
So there will be a situation you mentioned, you could check if the Body of Get items action is empty.
In addition, if the logic is to update the items filtered by Filter Query, the conditions configured in Condition seem to determine whether the collection returned by Get items is empty.
The 'get items' will always only gather one result. The only reason I can't use 'get item' is that the ID is not known. I use the filter query to filter it down to the list item that I'm looking for (the filter phrase is provided in the forms trigger.)
Further, the condition looks at a reply from forms:
'Does the supplied data satify your needs?' then continues on from a Yes/No answer depending on the input received.
I want the resultant answer to result in an update of that sharepoint item to either mark the open/close column as required.
Hi @CameronTCD ,
Anyway, I think using Get items action is correct, I just analyzed why Update item action was not executed.
No eligible items are filtered out, so the Apply to each 2 action will not be executed because Body of Get items action is empty.
As for the content you configure in Condition, you can decide for yourself, they are not the reason why Update item action is not executed.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.