Skip to Content
0
Jun 12, 2009 at 10:18 AM

Dynamic parallel processing of the same object using asynchronous method

253 Views

Hi,

Please can anyone help me?

I have to send the same DMS document to several agents for parallel processing. The number of agents is not known until runtime. Each of them should process the document and at least change the status of it. In next step I check if he has changed it.

I use dynamic parallel processing of subworkflows. Key task of this subworkflow uses standard method of object DRAW - DOCUMENT.EDIT (standard transaction CV02N) which is asynchronous. The task is finished by event DOCUMENT.CHANGED.

During the parallel processing the appropriate number of workitems is generated. However, when the agent who processes the document as first completes his workitem the event DOCUMENT.CHANGED is generated and all parallel workitems are completed, even those of other agents that were not processed yet.

Any help would be appreciated.

Thanks.

Eva Vahalova