Terminating a workflow

Becker Stephan (extern) Stephan.Becker.ext at mchw.siemens.de
Mon Feb 18 04:49:47 EST 2002


fork with two parallel branches with one necessary to complete processing.
Then copy your entire workflow processing into one branch, and a wait event
for the deleted event (do not forget the binding) as the only step in the
second branch. Don't worry about entries in the event linkage table, the
workflow engine makes them at runtime (type eventitem, you also get a
waiting workitem at runtime).
 
Stephan
 
-----Original Message-----
From: Sherman Wright [mailto:swright at lsil.com]
Sent: Samstag, 16. Februar 2002 01:10
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Terminating a workflow
 
 
 
Hi all -
 
We are having a problem getting a couple of our workflows to terminate once
an object is deleted.  In other words, if a purchase requisition or absence
request is submitted, a work item automatically goes to the employee's
supervisor for first approval.  If the employee then deletes the item (PR or
AR), how can we make the work item "disappear"?  We used to have that
functionality in 4.0 for the PR, but now that we're in 4.6B neither one of
them is working.  We really would like for the supervisor not to be able to
approve or reject something that -- technically -- doesn't exist anymore.
Our objects do have a DELETED event, and that event is listed as a
terminating event in the workflow task.  It seems that we don't have the
linkage set correctly, even though it is in SWE2.  The event trace (SWEL)
just says "No receiver entered" where it's supposed to list the Receiver
type and the Receiver FM, even though FM SWW_WI_COMP_EVENT_RECEIVE is listed
in SWE2.  (Hope this isn't TOO much information...)
 
Any help would be GREATLY appreciated, since the PR workflow is already
live, and the absence one goes into PRD this weekend.
 
Regards,
 
Sherman Wright
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20020218/2d682686/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Glacier Bkgrd.jpg
Type: image/jpeg
Size: 2743 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20020218/2d682686/attachment.jpg


More information about the SAP-WUG mailing list