Hi All,
I have a sequencer in which I am using the LOOP stages (introduced in version 7.5). With in the loop I have a Routine Activity stage and a Job Activity Stage. In the Routine activity stage I read a hash file. The value returned by the Routine activity stage is used by Job activity stage to call a multiple instance job passing the Routine activity return value to one of the job parameters. The job it calls is a multiple instance job and the invocation id is set to the loop counter. My requirement is that the Job activity stage should not wait for the job it called to get over. Rather it should pass the control to the next stage immediately after triggering the job. Is it possible?
Thanks and Regards,
-Sumit
Job activity stage within loop stages
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 197
- Joined: Mon Feb 17, 2003 11:20 pm
- Location: India
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not that way. It is the nature of the design that EndLoop is triggered by completion of the Job Activity.
You could have a RoutineActivity in the loop that starts the job asynchronously. But even easier would simply be to have N instances of a Job Activity on the canvas with no dependencies.
In this case it is easier to manage detection of completion - a trigger from each to an "All" Sequencer.
You could have a RoutineActivity in the loop that starts the job asynchronously. But even easier would simply be to have N instances of a Job Activity on the canvas with no dependencies.
In this case it is easier to manage detection of completion - a trigger from each to an "All" Sequencer.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Participant
- Posts: 197
- Joined: Mon Feb 17, 2003 11:20 pm
- Location: India