Terminating event with synchronous task (on 4.6C)

Kjetil Kilhavn kjetilk at statoil.com
Tue Nov 5 01:47:25 EST 2002


Having a rat race between two conditions which have both been filled does
not sound good. Unless the system has defined a rule for who will win (and
no bugs in the implementation of this), you will not be guaranteed
consistent results. I am not familiar with this, but maybe someone else
knows whether such an outcome rule exists or not.
 
If the publishing of the event completes the step I would _expect_ the WI
step to win the race if the event publishing is asynchronous and the event
to win if the publishing of the event is synchronous. Is it possible to
re-model your flow so that you set an indicator instead? If the indicator
is set the step has been completed normally. If it isn't the user has
selected to terminate or the termination event has occured from the
outside. You would still have your terminating event, but if the user
selects to terminate you would simply exit without the indicator set. Of
course you could turn it around and set the indicator when the user selects
to terminate, you would just have to add a container manipulation step in
your terminating event branch.
--
Kjetil Kilhavn
 
 
 
 
 
                    "Dart, Jocelyn"
                    <jocelyn.dart at sap.co        To:     SAP-WUG at MITVMA.MIT.EDU
                    m>                          cc:     (bcc: Kjetil Kilhavn)
                    Sent by: SAP                Subject:     Re: Terminating event with synchronous task (on 4.6C)
                    Workflow
                    <Owner-SAP-WUG at MITVM
                    A.MIT.EDU>
 
 
                    04.11.2002 23:10
                    Please respond to
                    "SAP Workflow Users'
                    Group"
 
 
 
 
 
 
Hi Karsten,
You might need to report that to OSS - but first check both outcomes
are active in the workflow step. I assume you have done that already.
The other thing that's worth checking is the workflow log (technical
version) to check what happens when the terminating event is received
- but I daresay you have already done that also. If all looks fine then
report it to OSS please.
Regards,
        Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
email: jocelyn.dart at sap.com
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
 
 
-----Original Message-----
From: Karsten Ernst [mailto:ernst-consulting at gmx.net]
Sent: Tuesday, 5 November 2002 6:50 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Terminating event with synchronous task (on 4.6C)
 
 
Hello fellow WF'ers,
 
I have an activity in a wf definition based on a synchronous task. The task
does display some data from the WF. Within the display of the data there is
a terminating event the user can publish and this event should terminate
the
workitem.
With a synchronous task together with a terminating event the tasks hast
two
exits, one standard exit and one from the event.
I need these two exists as I have two different processes following the
task.
Now my problem is the wf always takes the standard exit and not the event
exit, even if the event was published and terminated the workitem.
Do you have any idea where to look for a solution?
 
Thanks a lot for any advice,
 
Karsten
 
 
 
 
 
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
 


More information about the SAP-WUG mailing list