Antwort: AW: End Workflow after n-hours

Christian Wallner C.Wallner at ats.net
Thu Apr 10 08:01:50 EDT 2008


Hi!

At first, Thanks Florin, Thanks Mike, thats so simple it didn't come into 
my mind ;)
Michael, the business background is: 
When critical errors to an inspection lot (QM) are raised (measured values 
out of range) than this workflow (in standard: WS00200081) is started. 
Than an operator in our production is informed about that and has to 
re-dose chemicals in our production line. After a defined amount of time, 
unprocessed workflows are obsolete because re-dosing could be more 
damaging than helpful (because maybe other workflows of the same 
production line have been processed in the meantime). I know, not the 
cleanest solution, but works for us ;)

regards,
chris




"Marten, Michael" <michael.marten at philips.com> 
Gesendet von: sap-wug-bounces at mit.edu
10.04.2008 13:51
Bitte antworten an
"SAP Workflow Users' Group" <sap-wug at mit.edu>


An
"SAP Workflow Users' Group" <sap-wug at mit.edu>
Kopie

Thema
AW: End Workflow after n-hours






Hello Chris,
you wrote
"I want a workflow to terminate itself after n hours because its
 obsolete then".
It would be interesting to hear the business background why at least one 
dialog step (or more than one in the branch) is obsolete/must be logically 
deleted - simply because a time period is over ;-)

I have never thought about that and no scenario is coming into my mind.

Regards, Michael
P.S. I assumed that one of the branches contain at least one dialog step.

-----Ursprüngliche Nachricht-----
Von: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] Im Auftrag 
von Mike Pokraka
Gesendet: 2008 Apr 10 13:28
An: SAP Workflow Users' Group
Betreff: Re: End Workflow after n-hours

Use a wait step.
This is simply a background task based on a custom WAIT method with no 
code. Put a requested start deadline of n hours.
After n hours, workflow will start the task, execute all it's nothingness 
in a few milliseconds and terminate your fork.

Of course being the simplest possible task, this is also a perfect example 
to give OO classes a go :-)

Cheers,
Mike


On Thu, April 10, 2008 11:11 am, Christian Wallner wrote:
> Hi WUGers!
>
> I have a question which I'm sure is easy to answer for some guys here:
> I want a workflow to terminate itself after n hours because its
> obsolete then. Basically the wf is quite simple, it consists of a
> parallel section with 4 branches (1 out of 4 to complete). So my first
> thought was a wait event in a 5th branch. But unfortunately I didn't
> find out how to tell this step to terminate itself after wf creation 
date+n hours.
>
> Any ideas?
>
> regards,
> Chris
>
> AT&S Austria Technologie & Systemtechnik AG Legal form | Rechtsform:
> Aktiengesellschaft Registered office | Sitz: Fabriksgasse 13, 8700
> Leoben, Austria Commercial Register Number | Firmenbuchnummer: FN
> 55638 x, Landesgericht Leoben
>
> This e-mail and any attachment may contain confidential and/or
> privileged information. If you are not the intended recipient (or have
> received this e-mail in error) please notify the sender immediately
> and destroy this e-mail. Any unauthorised copying, disclosure or
> distribution of the material in this e-mail is strictly forbidden.
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


AT&S Austria Technologie & Systemtechnik AG
Legal form | Rechtsform: Aktiengesellschaft
Registered office | Sitz: Fabriksgasse 13, 8700 Leoben, Austria  
Commercial Register Number | Firmenbuchnummer: FN 55638 x, Landesgericht Leoben 

This e-mail and any attachment may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080410/bcf02150/attachment.htm


More information about the SAP-WUG mailing list