Dynamic parallel processing

May, Kevin KMay at petro-canada.ca
Mon Jun 5 13:15:43 EDT 2006


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:
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. 
Element		Object	Category	Object type	Event
_WI_OBJECT_ID	BOR Object Type	ZC_AFE_WF	REVIEWED

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?

Thanks in advance,

Kevin
 
--------------------------------------------------------

  
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.
 
Cette communication par courrier electronique est une communication privee a 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'etes pas le destinataire prevu, vous etes avise, par les presentes que toute reproduction, transfert ou autre forme de diffusion de cette communication par quelque moyen que ce soit est interdite.  Si vous n'etes pas specifiquement autorise a recevoir ce courriel ou si vous croyez l'avoir recu par erreur, veuillez en aviser l'expediteur original immediatement.  Nous respectons les demandes similaires qui touchent la confidentialite des communications par courrier electronique.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060605/84f4ac53/attachment.htm


More information about the SAP-WUG mailing list