<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>RSWWDHEX was executing twice&nbsp;for the exact same time. </DIV>
<DIV>So every 3 minutes I have two RSWWDHEX starting at the exact same time </DIV>
<DIV>with&nbsp;no WFs with DMs. </DIV>
<DIV>I can only assume this was not set correctly. How,&nbsp;I do not know, </DIV>
<DIV>but looking at the code we have a comment in there about this issue. </DIV>
<DIV>I deleted one of them in SM37 and seems to have fixed the locking issue. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Depending on the settings for the batch RSWWDHEX &nbsp;</DIV>
<DIV>from my understanding you can have a few different setups.</DIV>
<DIV>1. None. </DIV>
<DIV>2.&nbsp;RSWWDHEX running Periodically "Optional: Schedule permanent deadline monitoring" like every 20 mins. </DIV>
<DIV>3. RSWWDHEX running "Schedule backgr. job for case-specific deadline monitoring". </DIV>
<DIV>4.&nbsp;RSWWDHEX running Periodically "Optional: Schedule permanent deadline monitoring" like every 20 mins.&nbsp; And</DIV>
<DIV>
<DIV>&nbsp;&nbsp;&nbsp; RSWWDHEX running "Schedule backgr. job for case-specific deadline monitoring". </DIV>
<DIV>&nbsp;</DIV>
<DIV>Looks like we have both running. Periodically and per task instance. </DIV>
<DIV>I started a WF with a DM on it and then looked at SM37. </DIV></DIV>
<DIV>Sure enough I had a new batch started for each WF task with DM and the normal 20 min run. </DIV>
<DIV>So this could be thousands of this RSWWDHEX in queue and running at the same time for this setup. Yes?</DIV>
<DIV>&nbsp;</DIV>
<DIV>What is the norm? Just run the batch Periodically "Optional: Schedule permanent deadline monitoring" like every 20 mins </DIV>
<DIV>and call it a day or is there some reason to have both? </DIV>
<DIV>&nbsp;</DIV>
<DIV>I am just trying to understand what is going on&nbsp;under the covers...</DIV>
<DIV>Thanks!</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&gt;&gt;&gt; Jeff@Business-Workflow.com 6/23/2005 9:57 &gt;&gt;&gt;<BR>Rick,<BR><BR>Hopefully I can answer some of your questions from My <BR>observations. DM is a large part of WF, so if there is a <BR>big problem with the RSWWDHEX pgm then have a talk with <BR>the Basis guys, my pgm. runs in less then a second or two. <BR>You would not normally set the DM to run every 3 mins <BR>unless you had some deadlines that were set to expire in <BR>less than say 30 mins. I have a DM on one of mine now that <BR>is set for 4 hrs, so I have the pgm run every 10 mins. If <BR>your DM's are by Days, then just set the DM to the <BR>highest, 99 mins, &amp; the pgm to kick it maybe every few <BR>hrs. And it is just one batch pgm not thousands that <BR>trigger.<BR><BR>1) Haven't seen this happen, but try upping the Pgm time &amp; <BR>speaking to Basis.<BR>2) Table SWDSSTEPS looks like a Definition table of the <BR>Tasks in your system &amp; isn't per instance of steps. So it <BR>should stay around 9,000 unless you start creating more <BR>custom tasks. It doesn't just define the DM times but also <BR>the 2nd Meth, End Confirm, Batch, etc.<BR>3) The RSWWDHEX doesn't miss a deadline it just triggers <BR>whatever hits since the last run. If you have steps that <BR>hang it sounds like you have other problems than DM. <BR>4) Any old WF's you no longer need you can Logically <BR>Delete them so they're not hitting the system anymore, <BR>either for DM or uncompleted steps.<BR><BR>Hope this helps, may not have been what you were looking <BR>for.<BR><BR>Jeff<BR><BR>---- Original message ----<BR>&gt;Date: Wed, 22 Jun 2005 13:21:07 -0500<BR>&gt;From: "Rick Sample" &lt;<U> <A href="mailto:Rick.Sample@gbe.com">Rick.Sample@gbe.com</A></U> &gt;<BR>&gt;Subject: Re: deadline monitoring loop<BR>&gt;To: <U><A href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A></U> <BR>&gt;<BR>&gt; "Set 'Latest End' DM &amp; enable 'Processing obsolete'<BR>&gt; for an outcome"<BR>&gt; Interesting! And raises some more questions for me<BR>&gt; now that I looked at it.<BR>&gt; We don't use Deadline processing much so please bare<BR>&gt; with me. We have enough<BR>&gt; problems with performance without throwing thousands<BR>&gt; of batch progs at the system<BR>&gt; every 20 minutes.<BR>&gt; <BR>&gt; When testing in development with very low Requested<BR>&gt; Start in task and<BR>&gt; low RSWWDHEX settings (1 minute and 3 minutes<BR>&gt; respectively), I noticed<BR>&gt; some interesting issues.<BR>&gt; Just in dev. Don't run these settings in prod!<BR>&gt; Performance thing. (Unless you like getting Tarred<BR>&gt; and Feathered!)<BR>&gt; <BR>&gt; 1. Locking issues.<BR>&gt; No doubt due to the RSWWDHEX running multiple times<BR>&gt; with above settings.<BR>&gt; When this happens my tasks sometimes hang.<BR>&gt; So, next time RSWWDHEX runs it sees nothing to do<BR>&gt; and the task is just stuck until manually set.<BR>&gt; Sound correct?<BR>&gt; <BR>&gt; 2. Table SWDSSTEPS.<BR>&gt; When, what, and how do these entries get cleared out<BR>&gt; of the table?<BR>&gt; I noticed over 9,000 entries in dev and I know I<BR>&gt; don't have _anything_ in waiting.<BR>&gt; All entries are zeros for time/date.<BR>&gt; <BR>&gt; 3. Will "Set 'Latest End' DM &amp; enable 'Processing<BR>&gt; obsolete' for an outcome" pickup<BR>&gt; these tasks and complete the step if for any reason<BR>&gt; the RSWWDHEX misses the deadline?<BR>&gt; And, then will they get cleared if it hangs on the<BR>&gt; Requested Start?<BR>&gt; <BR>&gt; 4. How do I clear old timers for any task / WF that<BR>&gt; I no longer want to monitor?<BR>&gt; Example, old WF versions that we not longer want to<BR>&gt; use Deadlines.<BR>&gt; <BR>&gt; <BR>&gt; Thanks!<BR>&gt; 4.6c<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Rick Sample<BR>&gt; SAP Workflow Analyst/Developer<BR>&gt; Graybar, Inc.<BR>&gt; 11885 Lackland Rd.<BR>&gt; 63146-4208<BR>&gt; 314.573.5822<BR>&gt; <U><A href="mailto:Rick.Sample@GBE.com">Rick.Sample@GBE.com</A></U> <BR>&gt; &gt;&gt;&gt; <U><A href="mailto:Jeff@Business-Workflow.com">Jeff@Business-Workflow.com</A></U> 6/22/2005 12:02 &gt;&gt;&gt;<BR>&gt; Sushil,<BR>&gt;<BR>&gt; You could use the Modeled option on your 'Latest<BR>&gt; End'<BR>&gt; DM &amp; enable 'Processing obsolete' for an outcome.<BR>&gt; Then<BR>&gt; place the mail step after the DM leg &amp; then a<BR>&gt; 'Process<BR>&gt; Control' Step that 'Sets the work item to Obsolete'<BR>&gt; using<BR>&gt; that original DM Step as the 'WF Step' entry. Let me<BR>&gt; know<BR>&gt; if you have any problems &amp; I can show you some<BR>&gt; screen<BR>&gt; shots.<BR>&gt;<BR>&gt; Jeff Rappaport<BR>&gt; <U><A href="http://www.business-workflow.com/">www.Business-Workflow.com</A></U> <BR>&gt;<BR>&gt; ---- Original message ----<BR>&gt; &gt;Date: Wed, 22 Jun 2005 10:25:35 -0500<BR>&gt; &gt;From: "Sushil Guragain" &lt; <U><A href="mailto:sguragain@interpublic.com">sguragain@interpublic.com</A></U> <BR>&gt; &gt;<BR>&gt; &gt;Subject: deadline monitoring loop<BR>&gt; &gt;To: "SAP Workflow Users' Group" &lt; <U><A href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A></U> &gt;<BR>&gt; &gt;<BR>&gt; &gt; Hello WF Gurus,<BR>&gt; &gt;<BR>&gt; &gt; I am trying to create a loop on deadline<BR>&gt; monitoring<BR>&gt; &gt; so that it will keep sending email until the user<BR>&gt; &gt; takes an action. I am planning to send email every<BR>&gt; &gt; 24 hours until it is approved or declined. Is<BR>&gt; there<BR>&gt; &gt; a standard way to get this activated? I tried<BR>&gt; using<BR>&gt; &gt; deadline monitoring with 24 hours and found that<BR>&gt; it<BR>&gt; &gt; sends the notification once and that is it. Would<BR>&gt; it<BR>&gt; &gt; work if I put that in a loop? If so what do I<BR>&gt; check<BR>&gt; &gt; against to see if the work item is complete?<BR>&gt; &gt;<BR>&gt; &gt; Thank you for your suggestions in advance!<BR>&gt; &gt;<BR>&gt; &gt; Sushil<BR>&gt; &gt;<BR>&gt; &gt; This message contains information which may be<BR>&gt; confidential and privileged.<BR>&gt; &gt; Unless you are the intended recipient (or<BR>&gt; authorized to<BR>&gt; receive this message<BR>&gt; &gt; for the intended recipient), you may not use,<BR>&gt; copy,<BR>&gt; disseminate or disclose to<BR>&gt; &gt; anyone the message or any information contained in<BR>&gt; the<BR>&gt; message. If you have<BR>&gt; &gt; received the message in error, please advise the<BR>&gt; sender<BR>&gt; by reply e-mail, and<BR>&gt; &gt; delete the message. Thank you very much.<BR>&gt; &gt; (A)<BR>&gt; &gt;________________<BR>&gt; &gt;_______________________________________________<BR>&gt; &gt;SAP-WUG mailing list<BR>&gt; &gt; <U><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A></U> <BR>&gt; &gt; <U><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></U> <BR>&gt; Jeffrey A. Rappaport<BR>&gt; Business Workflow, LLC<BR>&gt; voice: (732)355-0123<BR>&gt; fax: (509)757-4144<BR>&gt; email: <U><A href="mailto:Jeff@Business-Workflow.com">Jeff@Business-Workflow.com</A></U> <BR>&gt; web: <U><A href="http://www.business-workflow.com/">www.Business-Workflow.com</A></U> <BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; <U><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A></U> <BR>&gt; <U><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></U> <BR>&gt;________________<BR>&gt;_______________________________________________<BR>&gt;SAP-WUG mailing list<BR>&gt;<U> <A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A></U> <BR>&gt;<U> <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></U> <BR>Jeffrey A. Rappaport<BR>Business Workflow, LLC<BR>voice: (732)355-0123<BR>fax: (509)757-4144<BR>email: <U><A href="mailto:Jeff@Business-Workflow.com">Jeff@Business-Workflow.com</A></U> <BR>web: <U><A href="http://www.business-workflow.com/">www.Business-Workflow.com</A></U> <BR>_______________________________________________<BR>SAP-WUG mailing list<BR><U><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A></U> <BR><U><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></U> <BR><BR></DIV></BODY></HTML>