<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Glacier</TITLE>
<STYLE>BODY {
MARGIN-TOP: 20px; FONT-SIZE: 10pt; MARGIN-LEFT: 50px; COLOR: #006666; FONT-FAMILY: Arial, Helvetica
}
</STYLE>
<META content="MSHTML 6.00.2712.300" name=GENERATOR></HEAD>
<BODY background=cid:371305209@18022002-18c6>
<DIV> </DIV>
<DIV><SPAN class=371305209-18022002>This can be solved using workflow modelling
in the builder only: Create a 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).</SPAN></DIV>
<DIV><SPAN class=371305209-18022002></SPAN> </DIV>
<DIV><SPAN class=371305209-18022002>Stephan</SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT
face=Tahoma>-----Original Message-----<BR><B>From:</B> Sherman Wright
[mailto:swright@lsil.com]<BR><B>Sent:</B> Samstag, 16. Februar 2002
01:10<BR><B>To:</B> SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Terminating a
workflow<BR><BR></FONT></DIV>
<P><SPAN class=852421223-15022002><FONT color=#000000 size=3>Hi all -
</FONT></SPAN></P>
<P><SPAN class=852421223-15022002><FONT color=#000000 size=3>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...)</FONT></SPAN></P>
<P><SPAN class=852421223-15022002><FONT color=#000000 size=3>Any help would be
GREATLY appreciated, since the PR workflow is already live, and the absence
one goes into PRD this weekend. </FONT></SPAN></P>
<P><SPAN class=852421223-15022002><FONT color=#000000
size=3>Regards,</FONT></SPAN></P>
<P><SPAN class=852421223-15022002><FONT color=#000000 size=3>Sherman
Wright</FONT></SPAN></P>
<P><SPAN class=852421223-15022002></SPAN> </P></BLOCKQUOTE></BODY></HTML>