Header events to complete workflow

Dart, Jocelyn jocelyn.dart at sap.com
Mon Jul 26 02:21:20 EDT 2004


Mike,
That becomes a bit of a design distinction.
 
After all, CANCELLED means I aborted out of this workflow, i.e. this workflow instance is no longer relevant.
COMPLETED means I completed the process normally, i.e. I have followed the modelled path through to the end.
 
I would not see a problem with using a fork where I want to show events that are part of the modelled flowchart, and header terminating events for events that are interruptions to the normal flow.
 
If you really want to have both in the header events, you could use the evaluate pre/post conditions option.  However either way what has happened will show on the workflow log and that should be the first port of call for any administrator.
 
Plus the cancellation stuff is all very nice, but the *really* good option is to "Reevaluate agents on active work items"... great for adding extra approvers in escalation! :-)
Jocelyn
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of Michael Pokraka
Sent: Thursday,22 July 2004 4:43 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Header events to complete workflow
 
 
Greetings,
I'm faced with another niggly little bit in using the new event handling at
WF header level on a 4.7/620 system,
 
I suspect the answer is no go, but....
Problem: Using header events it seems to only be possible to cancel the
workflow, not to complete it. This is an important difference, as e.g. a
changed event should leave the WF in a status CANCELLED, but a 'Completed'
event (via status management) should leave the WF in a status COMPLETED.
 
For consistency I like to use one or the other; we can have a parallel fork
with a bunch of wait for event branches alongside the flow, or neatly list
the events in the header. Otherwise it just becomes a trap for the WF admin
to get confused at some point.
I really like the functionality offered by the header event handling -
restarting a new WF with the same container comes close to a workflow
version of sliced bread. So if I want to use that and I also want to have an
'external completion' event I'm stuck with building a mixed event handling.
Or is this the whole intent behing the header event stuff?
 
Any thoughts?
Cheers
Mike
 


More information about the SAP-WUG mailing list