Raise Event Based on Multiple Triggers

Stephan Becker stephan.becker at walldorftech.com
Thu Mar 23 05:05:50 EST 2000


the starting event for the workflow is your user status, let's say. the
first step in the workflow is a step type wait for event, and that's your
change document. the container element in the wait for event step is the
object you're waiting for to be changed. ensure the change document event
creation is defined in swec.
 
from what you're saying, this should do the trick. you need to think about
the sequencing: will the user status be set first, or the change document,
and when would you want to have the workflow stop waiting for the other
event? with such a construction you risk of course having a lot of workflow
instances sitting around for a while, waiting for the other event. not that
that's necessarily bad in terms of performance or so, but it can make
administration a bit messy.. you could for example enable deadline
monitoring for the wait step and render the workflow obsolete after a
certain delay..
 
let me know if you need more info.
 
greetings,
stephan becker
 
 
 -----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Schroeter, Brad
Sent: 22 March 2000 23:56
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Raise Event Based on Multiple Triggers
 
 
    I'm trying to raise an event based on multiple triggers (a change
document for a field and a user status being set).  Is the only way to do
this to create custom code within a method to check for the two triggers and
then raise the event by calling the function SWE_EVENT_CREATE?
 
    Thanks,
    Brad
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20000323/07e62395/attachment.htm


More information about the SAP-WUG mailing list