I setup a StartLoop sequence as follows
StartLoopA => JobA =>Endloop
I wanted to use the UserStatus to control the loop.
If UserStatus = 1 end loop => Send EMail
If User_Status = 2 endloop => Terminate sequence
If UserStatus = 3 continue loop until one of the above or LoopLimit reached
I can't get this to work. It seems like the Loop works by Job Fail and Job Complete.
Has anyone used the UserStatus to control the flow or does it only work as the documentation suggests, Success and Fail.
Thanks.
StartLoop
Moderators: chulett, rschirm, roy
How are you 'ending the loop'? If you need to Terminate, just branch directly to a Terminator rather than trying to get out of the loop gracefully and then terminate. Same for the email - send it then terminate, all while still "inside" the loop. It won't mind. Much.
You could also branch outside the loop to another stage (Sequencer, typically) that follows the EndLoop and thus effectively end the loop, then go on and decide how you got there and what you needed to do next.
![Wink :wink:](./images/smilies/icon_wink.gif)
You could also branch outside the loop to another stage (Sequencer, typically) that follows the EndLoop and thus effectively end the loop, then go on and decide how you got there and what you needed to do next.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers