<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
 
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type><TITLE>Raise Event Based on Multiple =
Triggers</TITLE>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
size=3D2>nope.=20
try this for size:</FONT></SPAN></DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
 
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
size=3D2>the=20
starting event for the workflow is your user status, let's say. the =
first step=20
in the workflow is a step type wait for event, and that's your change =
document.=20
the container element in the wait for event step is the object you're =
waiting=20
for to be changed. ensure the change document event creation is defined =
in=20
swec.</FONT></SPAN></DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
 
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
size=3D2>from=20
what you're saying, this should do the trick. you need to think about =
the=20
sequencing: will the user status be set first, or the change document, =
and when=20
would you want to have the workflow stop waiting for the other event? =
with such=20
a construction you risk of course having a lot of workflow instances =
sitting=20
around for a while, waiting for the other event. not that that's =
necessarily bad=20
in terms of performance or so, but it can make administration a bit =
messy.. you=20
could for example enable deadline monitoring for the wait step and =
render the=20
workflow obsolete after a certain delay..</FONT></SPAN></DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
 
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
size=3D2>let me=20
know if you need more info.</FONT></SPAN></DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
 
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
 
size=3D2>greetings,</FONT></SPAN></DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
 
size=3D2>stephan becker</FONT></SPAN></DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
 
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial =
 
size=3D2></FONT></SPAN><FONT face=3D"Times New Roman" size=3D2><SPAN=20
class=3D490183007-23032000><FONT color=3D#0000ff face=3DArial=20
size=3D2>&nbsp;</FONT></SPAN></FONT></DIV>
<DIV><FONT face=3D"Times New Roman" size=3D2><SPAN =
class=3D490183007-23032000><FONT=20
color=3D#0000ff face=3DArial size=3D2>&nbsp;</FONT></SPAN>-----Original=20
Message-----<BR><B>From:</B> SAP Workflow=20
[mailto:Owner-SAP-WUG@MITVMA.MIT.EDU]<B>On Behalf Of</B> Schroeter,=20
Brad<BR><B>Sent:</B> 22 March 2000 23:56<BR><B>To:</B>=20
SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Raise Event Based on Multiple=20
Triggers<BR><BR></FONT></DIV>
<BLOCKQUOTE>
    <P><FONT face=3DArial size=3D2>I'm trying to raise an event based on =
multiple=20
    triggers (a change document for a field and a user status being =
set).&nbsp;=20
    Is the only way to do this to create custom code within a method to =
check=20
    for the two triggers and then raise the event by calling the =
function=20
    SWE_EVENT_CREATE?</FONT></P>
    <P><FONT face=3DArial size=3D2>Thanks,</FONT> <BR><FONT face=3DArial =
 
    size=3D2>Brad</FONT> </P></BLOCKQUOTE></BODY></HTML>