Skip to Content
0
Former Member
Feb 17, 2009 at 08:40 AM

Dynamic Parallel Processing - Multiple Parallel Agents

678 Views

I have a synchronous task that needs to be sent to multiple agents in parallel. This task is set to "confirm end of processing". I only know the agents at runtime, so I am using dynamic parallel processing.

I have filled a multiline container element with the agents. I have specified the multiline element under "Miscellaneous / Other" tab. I have specified the responsible agent as expression:

&AGENTS[&_WF_PARFOREACH_INDEX&]&

Now this works, except that I only want the workflow to continue once all agents have confirmed end of processing. Currently, it sends mutliple work items in parallel, but as soon as one agent confirms end of processing, the workflow continues to the next step, even though the other agents haven't completed yet.

I know there are End Conditions that I can use, but I'm not sure how to determine which agents have already confirmed.

Any help would be appreciated.

We are using WAS version 7.0