Discussion

Transition doesn't have "Exit this Iteration"

Hi,

Can anyone explain why transition in an activity doesn't have "Exit this Iteration".

Also need a alternate way to do this, as we have a requirement.

 

Thanks in advance :)

 

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

March 13, 2013 - 1:32pm

you can set a value in iteration, and on transition you can check that value, and do jump to later step to come out of iteration

March 14, 2013 - 6:19am

Thanks for the solution Imthiyaz. And again do u know for what reason its not present in transition?

April 2, 2013 - 12:09am

Hi VijayKumar,

 

It is just for simple reason.

 

Lets assume you have a Iteration with one step and having the "Exit this Iteration" in the transition step is not make sense as the step is already been executed and after that only the exit iteration is called. This is the reason why they have the "Exit this Iteration" in the precondition as to check before executing that step Exit the Iteration if condition become true without executing it.

 

 

 

 

 

 

August 6, 2014 - 3:38am

but what if i need to check if the step is not executed properly (doing some integration related work), do the exit iteraton so that the next steps in the loop will not be executed. In that case i reckon we have to add another step to exit this iteration. is this possible in transition itself?

September 3, 2015 - 6:45am

Any update on the above question?

September 3, 2015 - 7:20am

Still there is no proper reason for this question. I ve also faced some scenarios where 'Exit this Iteration' was needed in transition. I used to add an extra empty step and place it in precondition.