<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.&nbsp; I'm on 4.7/6.20.&nbsp; 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.&nbsp; The workflow container includes a multi-line element(import/export permitted) which is a user id.&nbsp; The multi-line element is then populated correctly by the first activity in the workflow, specifically by a custom method of a custom BOR.&nbsp; There is then an activity to send the workitem to all the agents contained in the multi-line element.&nbsp; This is done by using an expression for the agent assignment, i.e &amp;REVIEWERS[&amp;_WF_PARFOREACH_INDEX&amp;]&amp;.&nbsp; There are 2 outcomes for this activity: 'Technical review complete' &amp; 'Processing obsolete'.&nbsp; On the 'Others' tab the multi-line element is specified as required.&nbsp; The task for this activity is a custom method of a custom object which calls a BSP.&nbsp; This BSP will in turn call an event.&nbsp; This event is used as a terminating event for the task, i.e. </FONT></P>

<P><FONT SIZE=2 FACE="Arial">Element &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object&nbsp; Category&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object type&nbsp;&nbsp;&nbsp;&nbsp; Event</FONT>

<BR><FONT SIZE=2 FACE="Arial">_WI_OBJECT_ID&nbsp;&nbsp; BOR Object Type ZC_AFE_WF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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.&nbsp; However the first agent to raise the terminating event, 'reviewed' causes the workitem to be removed from all the agents inbox.&nbsp; I believe the problem to be caused by the fact that the object key for the terminating event does not include the workitem id.&nbsp; 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.&nbsp; 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>&nbsp;</DIV>
<DIV ALIGN="center">
<HR>
</DIV>
<DIV>&nbsp;&nbsp;</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.&nbsp; 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.&nbsp; We honour similar requests relating to the privacy of email communications.</FONT>
</DIV>
<DIV STYLE="FONT-SIZE: 9pt; FONT-FAMILY: Courier New">
<P>&nbsp;</P>
<P>
<FONT FACE="Arial" SIZE="2">Cette communication par courrier &#233;lectronique est une communication priv&#233;e &#224; l'usage exclusif du destinataire principal ainsi que des personnes dont les noms figurent en copie.&nbsp; Les renseignements contenus dans ce courriel sont confidentiels et si vous n'&#234;tes pas le destinataire pr&#233;vu, vous &#234;tes avis&#233;, par les pr&#233;sentes que toute reproduction, transfert ou autre forme de diffusion de cette communication par quelque moyen que ce soit est interdite.&nbsp; Si vous n'&#234;tes pas sp&#233;cifiquement autoris&#233; &#224; recevoir ce courriel ou si vous croyez l'avoir re&#231;u par erreur, veuillez en aviser l'exp&#233;diteur original imm&#233;diatement.&nbsp; Nous respectons les demandes similaires qui touchent la confidentialit&#233; des communications par courrier &#233;lectronique.</FONT>
</P>
</DIV>
</DIV>
</DIV></BODY></HTML>