<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: deleted task shows up in new workflow instances</TITLE>

<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=959333712-05052005><FONT face=Arial color=#0000ff size=2>I 
think there&nbsp;might be&nbsp;another option ( Not sure though 
)&nbsp;:</FONT></SPAN></DIV>
<DIV><SPAN class=959333712-05052005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=959333712-05052005><FONT face=Arial color=#0000ff size=2>Just 
after that step in your workflow put another step which will schedule a Batch 
Job (FM BP_JOB_CREATE) &nbsp;with release date = sy-datum + 2 
years.</FONT></SPAN></DIV>
<DIV><SPAN class=959333712-05052005><FONT face=Arial color=#0000ff 
size=2>I&nbsp;am not sure but system restart should not affect it. 
</FONT></SPAN></DIV>
<DIV><SPAN class=959333712-05052005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=959333712-05052005><FONT face=Arial color=#0000ff size=2>The 
Batch job will then trigger&nbsp;an event ( after two years ) &nbsp;to re-start 
the terminated workflow.</FONT></SPAN></DIV>
<DIV><SPAN class=959333712-05052005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=959333712-05052005><FONT face=Arial color=#0000ff 
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=959333712-05052005><FONT face=Arial color=#0000ff 
size=2>Ram</FONT></SPAN></DIV>
<DIV><SPAN class=959333712-05052005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> sap-wug-bounces@mit.edu 
  [mailto:sap-wug-bounces@mit.edu]<B>On Behalf Of </B>Alon 
  Raskin<BR><B>Sent:</B> Thursday, May 05, 2005 5:26 PM<BR><B>To:</B> SAP 
  Workflow Users' Group<BR><B>Subject:</B> 2 year wait vs Batch 
  Report<BR><BR></FONT></DIV>
  <DIV id=idOWAReplyText72845 dir=ltr>
  <DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Everyone,</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>I would love to hear peoples opinions on 
  this issue.</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>We have a situation where a workflow has 
  to do update a field and then wait for 2 years before clearing that field. 
  There are two possibilities to this issue.</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>1. Put in a 2 year wait step</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2>2. Terminate the workflow and run a 
  nightly batch job which would query some table and determine if 2 years have 
  passed and then reset the field accordingly.</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>Currently I am leaning towards option 1 
  as I really don't see a difference in option 1 and option 2. Ultimately they 
  are all just batch jobs which check dates and then do some processing. The 
  volumes here are very low.</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>Your thoughts?</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
  <DIV id=idSignature14617 dir=ltr>
  <DIV><FONT face=Arial color=#000000 size=2>
  <DIV dir=ltr align=left><STRONG>
  <DIV dir=ltr align=left><STRONG>Alon Raskin</STRONG></DIV>
  <DIV dir=ltr align=left><STRONG>e: </STRONG><A 
  href="mailto:araskin@3i-consulting.com" 
  target=_blank><STRONG>araskin@3i-consulting.com</STRONG></A></DIV>
  <DIV dir=ltr align=left>
  <DIV dir=ltr align=left><STRONG></STRONG></DIV><STRONG>w: </STRONG><A 
  href="/exchweb/bin/redir.asp?URL=http://www.3i-consulting.com/" 
  target=_blank><STRONG>http://www.3i-consulting.com</STRONG></A></STRONG></FONT></DIV></DIV></DIV></DIV></BLOCKQUOTE>
<BR>
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.<BR>
</BODY></HTML>