cancel workflow when quantity payment block is cleared outsid e the workflow

Torsten Schnorpfeil torsten at processflow.de
Thu Jan 30 08:15:29 EST 2003


I checked the event trace and there was never a event raised when I cleared
the quantity block.
I there anything missing in my configuration?
Do I have to link the event w/ a workflow before it gets raised?
 
However, thanks for your reply!
 
Regards,
Torsten
 
----- Original Message -----
From: "de Valensart Schoenmaeckers, Patrick"
<Patrick.deValensartSchoenmaeckers at pmintl.com>
To: <SAP-WUG at MITVMA.MIT.EDU>
Sent: Thursday, January 30, 2003 3:25 AM
Subject: Re: cancel workflow when quantity payment block is cleared outsid e
the workflow
 
 
> Torsten,
>
> If the clearance is inside the workflow, the event created by your change
> document will have the container element _EVT_CREATOR with value
USWF-BATCH.
> If it is cleared outside of the workflow, that same container element will
> contain USXXXX  (XXXX standing for any other username than WF-BATCH).
>
> Put a fork in your workflow that ends with only one branch. In one branch
> you can put your business flow, in the other, add a wait for event step
that
> listens to the event created by your change document. In that step, bind
> _EVT_CREATOR from the event container to a similar element in the workflow
> container.
> That wait for event should be in a "loop until" step where you test that
the
> container element that you filled with _EVT_CREATOR is not equal to
> USWF-BATCH. If that condition is true, the loop will end, then also the
> branch will end, and as a consequence you workflow will finally end.
>
> Hope this helps,
>
> Patrick
>
> -----Original Message-----
>> From: Torsten Schnorpfeil [mailto:torsten at processflow.de]
> Sent: Wednesday, January 29, 2003 22:25
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: cancel workflow when quantity payment block is cleared outside
the
> workflow
>
> Hi folks,
>
> here's the thing: Does anybody ever developed a workflow scenario where
you
> raise workflows due to quantity variances (blocked due to quantity)?
>
> How do you solve it, if the workflow instance is still running and the
> payment block is cleared/released outside the workflow.
>
> I was thinking about using change documents, but then how can you
> differentiate between the clearance inside and outside the workflow?
>
> Any hints highly appreciated!
>
> Cheers,
> Torsten
 


More information about the SAP-WUG mailing list