PL-200 · Question #325
You are creating a Power Automate cloud flow. The cloud flow will create several SharePoint Online list items based on a variety of conditions. If any of the dependent SharePoint Online actions…
The correct answer is A. Add a scope. B. Set Run After to Has failed. To revert SharePoint list item changes on failure in Power Automate, you must group actions in a scope and configure compensating actions to run after the scope fails.
Question
Options
- AAdd a scope.
- BSet Run After to Has failed.
- CPerform a changeset request action.
- DRetrigger the flow run.
How the community answered
(32 responses)- A72% (23)
- C6% (2)
- D22% (7)
Why each option
To revert SharePoint list item changes on failure in Power Automate, you must group actions in a scope and configure compensating actions to run after the scope fails.
A scope action groups related SharePoint actions together so the entire group is treated as a single unit; if any action within the scope fails, the scope itself is marked as failed, enabling downstream revert logic to trigger cleanly.
Setting 'Run After' to 'Has failed' on the revert or delete actions ensures they only execute when the preceding scope has failed, implementing a compensating transaction pattern to undo partially completed changes.
The 'Perform a changeset request' action is an OData batch HTTP action used for transactional HTTP requests against external APIs, not a native SharePoint rollback mechanism within Power Automate flow logic.
Retriggering the flow run restarts the entire automation from the beginning rather than reverting specific changes already made, which would likely duplicate or compound the problem.
Concept tested: Power Automate scope and run-after error handling for rollback
Source: https://learn.microsoft.com/en-us/power-automate/error-handling
Topics
Community Discussion
No community discussion yet for this question.