You are viewing limited content. For full access, please sign in.

Question

Question

Exit the repeat activity

asked on April 26, 2017 Show version history

Hi,

I use the activity "For each value", how can I exit the repeat activity?

 

 

best regards,

Marco.

1 0

Answer

SELECTED ANSWER
replied on April 26, 2017

There is no way to successfully exit a For Each loop before all iterations are completed. You can add the Conditional Sequence and check for a condition so the work is not done once it's satisfied, but it will still check the condition for each remaining item in the set you're iterating over.

1 0

Replies

replied on December 2, 2019

There should be a break or continue activity.

1 0
replied on December 4, 2019

For Each is not necessary in the case presented above to determine if a single value is present in a list. A condition checking if the multi-value token equals a single value token will return "true" if any of the values in the multi-value tokens equals the value on the right side of the condition.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.