<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: deleted task shows up in new workflow instances</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=531592015-05052005><FONT face=Arial color=#0000ff size=2>Hi 
Alon,</FONT></SPAN></DIV>
<DIV><SPAN class=531592015-05052005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=531592015-05052005><FONT face=Arial color=#0000ff size=2>maybe 
it's&nbsp;my experience. I've never heard about a workflow which takes such a 
long time.&nbsp;2 Years&nbsp;for one workitem is a sort of 
"workwait".</FONT></SPAN></DIV>
<DIV><SPAN class=531592015-05052005><FONT face=Arial color=#0000ff size=2>Also 
there are no technical reasons, I would separate the steps because there is so 
much time between them. </FONT></SPAN></DIV>
<DIV><SPAN class=531592015-05052005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=531592015-05052005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=531592015-05052005><FONT face=Arial color=#0000ff 
size=2>Greetings,</FONT></SPAN></DIV>
<DIV><SPAN class=531592015-05052005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=531592015-05052005><FONT face=Arial color=#0000ff size=2>Thomas 
</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B> Alon Raskin 
  [mailto:sap-wug-bounces@mit.edu]<B>Im Auftrag von </B>Alon 
  Raskin<BR><B>Gesendet:</B> Donnerstag, 5. Mai 2005 15:59<BR><B>An:</B> SAP 
  Workflow Users' Group<BR><B>Betreff:</B> RE: 2 year wait vs Batch 
  Report<BR><BR></FONT></DIV>
  <DIV id=idOWAReplyText13873 dir=ltr>
  <DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Thomas,</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>I appreciate your input but I was 
  wondering WHY you have this preference? Is it performance related? Or simply 
  past experience?</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
  <DIV id=idSignature18867 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><STRONG>p: +61 3 9625 2189 (Head 
Office)</STRONG></DIV>
  <DIV dir=ltr align=left><STRONG>f:&nbsp; +61 3 8610 1239 </STRONG></DIV>
  <DIV dir=ltr align=left><STRONG>c:&nbsp; +1 207 756 0370</STRONG></DIV>
  <DIV dir=ltr align=left><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></DIV></STRONG></DIV></FONT></DIV></DIV>
  <DIV dir=ltr><BR>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu on behalf of 
  Thomas Lorenz<BR><B>Sent:</B> Thu 5/5/2005 09:46<BR><B>To:</B> SAP Workflow 
  Users' Group<BR><B>Subject:</B> AW: 2 year wait vs Batch 
  Report<BR></FONT><BR></DIV>
  <DIV>
  <DIV><SPAN class=375294013-05052005><FONT face=Arial color=#0000ff size=2>Hi 
  Alon,</FONT></SPAN></DIV>
  <DIV><SPAN class=375294013-05052005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=375294013-05052005><FONT face=Arial color=#0000ff size=2>i 
  would prefer an additional ABAP Report to clear the field, which runs as Batch 
  once a day. In my opinion it makes&nbsp;little sense to keep these Workflows 
  for two years in "running" mode.</FONT></SPAN></DIV>
  <DIV><SPAN class=375294013-05052005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=375294013-05052005><FONT face=Arial color=#0000ff 
  size=2>Greetings,</FONT></SPAN></DIV>
  <DIV><SPAN class=375294013-05052005></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=375294013-05052005><FONT face=Arial color=#0000ff 
  size=2>Thomas&nbsp;Lorenz</FONT></SPAN></DIV>
  <DIV><SPAN class=375294013-05052005><FONT size=2><BR><BR></FONT><FONT 
  size=2><FONT face=Arial>mobil&nbsp;<SPAN class=375294013-05052005>+ 49 
  </SPAN>170 3558989<BR>mail tlorenz@web-ls.de<BR>fon <SPAN 
  class=375294013-05052005>+ 49 </SPAN>228 3867985<BR>fax <SPAN 
  class=375294013-05052005>+ 49 </SPAN>228 3868844</FONT><BR></FONT></DIV>
  <DIV></SPAN>&nbsp;</DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B> Alon Raskin 
    [mailto:sap-wug-bounces@mit.edu]<B>Im Auftrag von </B>Alon 
    Raskin<BR><B>Gesendet:</B> Donnerstag, 5. Mai 2005 14:53<BR><B>An:</B> SAP 
    Workflow Users' Group<BR><B>Betreff:</B> RE: 2 year wait vs Batch 
    Report<BR><BR></FONT></DIV>
    <DIV id=idOWAReplyText63325 dir=ltr>
    <DIV dir=ltr><FONT face=Arial size=2>Hi Ram,</FONT></DIV>
    <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV dir=ltr><FONT face=Arial size=2>Thanks for the input. My problem with 
    this approach is that I now have a batch job scheduled for each instance of 
    the workflow (around 400 or so)... I guess it not a big deal but I am not 
    sure I am seeing what the advantages of using this over the deadline 
    monitoring report...</FONT></DIV>
    <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV></DIV>
    <DIV id=idSignature20148 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><STRONG>p: +61 3 9625 2189 (Head 
    Office)</STRONG></DIV>
    <DIV dir=ltr align=left><STRONG>f:&nbsp; +61 3 8610 1239 </STRONG></DIV>
    <DIV dir=ltr align=left><STRONG>c:&nbsp; +1 207 756 0370</STRONG></DIV>
    <DIV dir=ltr align=left><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></DIV></STRONG></DIV></FONT></DIV></DIV>
    <DIV dir=ltr><BR>
    <HR tabIndex=-1>
    <FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu on behalf of 
    Tiwari, Rammanohar<BR><B>Sent:</B> Thu 5/5/2005 08:49<BR><B>To:</B> SAP 
    Workflow Users' Group<BR><B>Subject:</B> RE: 2 year wait vs Batch 
    Report<BR></FONT><BR></DIV>
    <DIV>
    <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></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>