<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.14">
<TITLE>Dynamic parallel processing</TITLE>
</HEAD>
<BODY >
<DIV>
<DIV>
<DIV>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi, I'm back on this subject again, after a short hiatus. I'm on 4.7/6.20. My dynamic parallel process is not working correctly, here's the situation:</FONT></P>
<P><FONT SIZE=2 FACE="Arial">The workflow is triggered by a custom event from a custom object. The workflow container includes a multi-line element(import/export permitted) which is a user id. The multi-line element is then populated correctly by the first activity in the workflow, specifically by a custom method of a custom BOR. There is then an activity to send the workitem to all the agents contained in the multi-line element. This is done by using an expression for the agent assignment, i.e &REVIEWERS[&_WF_PARFOREACH_INDEX&]&. There are 2 outcomes for this activity: 'Technical review complete' & 'Processing obsolete'. On the 'Others' tab the multi-line element is specified as required. The task for this activity is a custom method of a custom object which calls a BSP. This BSP will in turn call an event. This event is used as a terminating event for the task, i.e. </FONT></P>
<P><FONT SIZE=2 FACE="Arial">Element Object Category Object type Event</FONT>
<BR><FONT SIZE=2 FACE="Arial">_WI_OBJECT_ID BOR Object Type ZC_AFE_WF REVIEWED</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Here's what happens: the workflow starts and the multi-line element is populated correctly with identified agents. All agents in the multi-line element get the same workitem with a different workitem id as expected. However the first agent to raise the terminating event, 'reviewed' causes the workitem to be removed from all the agents inbox. I believe the problem to be caused by the fact that the object key for the terminating event does not include the workitem id. However when I include the work item id into the object key and raise the terminating event it never completely terminates the activity, leaving it in limbo. Does anyone have any ideas as to how to solve this problem?</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Thanks in advance,</FONT>
<BR>
<BR><FONT SIZE=2 FACE="Arial">Kevin </FONT>
</P>
</DIV>
<DIV> </DIV>
<DIV ALIGN="center">
<HR>
</DIV>
<DIV> </DIV>
<DIV>
<FONT FACE="Arial" SIZE="2">This email communication is intended as a private communication for the sole use of the primary addressee and those individuals listed for copies in the original message. The information contained in this email is private and confidential and If you are not an intended recipient you are hereby notified that copying, forwarding or other dissemination or distribution of this communication by any means is prohibited. If you are not specifically authorized to receive this email and if you believe that you received it in error please notify the original sender immediately. We honour similar requests relating to the privacy of email communications.</FONT>
</DIV>
<DIV STYLE="FONT-SIZE: 9pt; FONT-FAMILY: Courier New">
<P> </P>
<P>
<FONT FACE="Arial" SIZE="2">Cette communication par courrier électronique est une communication privée à l'usage exclusif du destinataire principal ainsi que des personnes dont les noms figurent en copie. Les renseignements contenus dans ce courriel sont confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé, par les présentes que toute reproduction, transfert ou autre forme de diffusion de cette communication par quelque moyen que ce soit est interdite. Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur original immédiatement. Nous respectons les demandes similaires qui touchent la confidentialité des communications par courrier électronique.</FONT>
</P>
</DIV>
</DIV>
</DIV></BODY></HTML>