Skip Iteration flow logic
Skip the current iteration of a flow logic loop when the conditions of an If flow logic are met. Continue running the flow logic loop with the next item in the list. This flow logic is also known as continue.
Valid Skip Iteration placement
- Then branch of an If flow logic block
- Then branch of an Else If flow logic block
- Then branch of an Else flow logic block
Inputs
This flow logic has no inputs.
Outputs
This flow logic has no outputs.
Execution Details
When a flow skips an iteration, the Skip Iteration flow logic has a state of Completed for the item that was skipped. Any following steps in the same For Each or Do the following until flow logic loop have a status of Not Run for the skipped item.
Skip iteration when an incident is an inquiry category
In this example, a flow generates a list of incidents assigned to a user. For each incident that is assigned to the user, the flow sends an email. If the current incident record is in the Inquiry/Help category, then the flow skips the current item. The flow continues with the next incident record in the For Each flow logic loop.
In this example, the first item is an incident in the Inquiry category, which meets the skip iteration conditions. The flow does not run the Send Email action for this iteration.