<br><font size=2 face="sans-serif">Hi!</font>
<br>
<br><font size=2 face="sans-serif">At first, Thanks Florin, Thanks Mike,
thats so simple it didn't come into my mind ;)</font>
<br><font size=2 face="sans-serif">Michael, the business background is:
</font>
<br><font size=2 face="sans-serif">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 ;)</font>
<br>
<br><font size=2 face="sans-serif">regards,</font>
<br><font size=2 face="sans-serif">chris</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Marten, Michael&quot;
&lt;michael.marten@philips.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Gesendet von: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">10.04.2008 13:51</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Bitte antworten an<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">An</font></div>
<td><font size=1 face="sans-serif">&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Kopie</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Thema</font></div>
<td><font size=1 face="sans-serif">AW: End Workflow after n-hours</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hello Chris,<br>
you wrote<br>
&quot;I want a workflow to terminate itself after n hours because its<br>
 obsolete then&quot;.<br>
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 ;-)<br>
<br>
I have never thought about that and no scenario is coming into my mind.<br>
<br>
Regards, Michael<br>
P.S. I assumed that one of the branches contain at least one dialog step.<br>
<br>
-----Ursprüngliche Nachricht-----<br>
Von: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] Im Auftrag
von Mike Pokraka<br>
Gesendet: 2008 Apr 10 13:28<br>
An: SAP Workflow Users' Group<br>
Betreff: Re: End Workflow after n-hours<br>
<br>
Use a wait step.<br>
This is simply a background task based on a custom WAIT method with no
code. Put a requested start deadline of n hours.<br>
After n hours, workflow will start the task, execute all it's nothingness
in a few milliseconds and terminate your fork.<br>
<br>
Of course being the simplest possible task, this is also a perfect example
to give OO classes a go :-)<br>
<br>
Cheers,<br>
Mike<br>
<br>
<br>
On Thu, April 10, 2008 11:11 am, Christian Wallner wrote:<br>
&gt; Hi WUGers!<br>
&gt;<br>
&gt; I have a question which I'm sure is easy to answer for some guys here:<br>
&gt; I want a workflow to terminate itself after n hours because its<br>
&gt; obsolete then. Basically the wf is quite simple, it consists of a<br>
&gt; parallel section with 4 branches (1 out of 4 to complete). So my first<br>
&gt; thought was a wait event in a 5th branch. But unfortunately I didn't<br>
&gt; find out how to tell this step to terminate itself after wf creation
date+n hours.<br>
&gt;<br>
&gt; Any ideas?<br>
&gt;<br>
&gt; regards,<br>
&gt; Chris<br>
&gt;<br>
&gt; AT&amp;S Austria Technologie &amp; Systemtechnik AG Legal form | Rechtsform:<br>
&gt; Aktiengesellschaft Registered office | Sitz: Fabriksgasse 13, 8700<br>
&gt; Leoben, Austria Commercial Register Number | Firmenbuchnummer: FN<br>
&gt; 55638 x, Landesgericht Leoben<br>
&gt;<br>
&gt; This e-mail and any attachment may contain confidential and/or<br>
&gt; privileged information. If you are not the intended recipient (or
have<br>
&gt; received this e-mail in error) please notify the sender immediately<br>
&gt; and destroy this e-mail. Any unauthorised copying, disclosure or<br>
&gt; distribution of the material in this e-mail is strictly forbidden.<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br><small><br><br>AT&S Austria Technologie & Systemtechnik AG<br>
Legal form | Rechtsform: Aktiengesellschaft<br>
Registered office | Sitz: Fabriksgasse 13, 8700 Leoben, Austria<br>  
Commercial Register Number | Firmenbuchnummer: FN 55638 x, Landesgericht Leoben <br><br>
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.
</small>