Scope action

The scope action provides grouping capabilities in the Logic Apps workflow designer. The scope control flow action is useful when we want to organize actions as a logical group within Logic Apps, evaluate that group's status, and perform any required actions that are based on the scope's status.

Using scope actions is a great way to handle logical group exceptions and take the necessary steps when scope execution is either failed or skipped. You can also use the runAfter property to control the flow of a logical set of grouped actions:

When an exception occurs in the parent scope, the details of the exception lies in the JSON array list. In the preceding screenshot, we've used a Filter array data operation action to filter the action, which has raised an exception in the parent Logic Apps instance. To learn more about Filter array data operation action capabilities, you can refer to https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-perform-data-operations#filter-array-action.

When looking into the Logic Apps code view, you can see how the logical grouping of actions is done through scope control flow actions. Here's the code for Logic Apps with the parent scope and two actions grouped within the parent scope:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.211.239