Page 1 of 1

Loop activity Problem

Posted: Tue Sep 04, 2007 1:17 pm
by bhaskara
I am having trouble in looping with in the sequencer.
Job1 checks for the count=2(Here the output goes to a sequential file.), when count=2, Job2 has to run. Here in Job1, the file is created no matter what the output is, so I have used the routine "UtilityAbortToLog", abort the job if the count<>2.
Job1 has to run multiple times till the count=2. So I thought of looping it.
The problem is it is failing to loop with the error "Note: Loop 'StartLoop' was started, but did not complete all its iterations"
Please let me know if you need any more details.
Thanks for all your help.

Bhaskar

Posted: Tue Sep 04, 2007 4:29 pm
by ray.wurlod
Use a Nested Condition activity (that's your IF test) immediately prior to the job activity. The custom trigger expression would be something like activity.$Counter = 2