<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR><!--[if !mso]>
<STYLE>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</STYLE>
<![endif]--><o:SmartTagType name="City"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="place"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>
st1\:*{behavior:url(#default#ieooui) }
</STYLE>
<![endif]-->
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Tahoma;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>You can also use do the following:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>Create the number of forks needed. For instance, the
kill WF step after 5 days.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>Create a task and call a VOID method if you really
don't need to do anything.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>On that task in the "Latest End" tab, set the
Ref, data/ time, </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>use Work Item Creation as start time, enter 5 days, and
set as Modeled. </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>This will create an "outcome" that you can put a Term
WF task or whatever you need.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007></SPAN></FONT> </DIV>
<DIV><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>Search this list or "Modeled Deadline" between Marc and
myself. (</SPAN></FONT><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>Mr.. Pyc helped me)</SPAN></FONT></DIV>
<DIV><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007></SPAN></FONT> </DIV>
<DIV><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>This works great for but like anything else has
limitations with other design requirements. L</SPAN></FONT><FONT
face="Microsoft Sans Serif" color=#000080><SPAN class=950592014-12112007>ike,
</SPAN></FONT></DIV>
<DIV><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>sticking this Modeled Deadline in a loop.
</SPAN></FONT></DIV>
<DIV><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007></SPAN></FONT> </DIV>
<DIV><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007>Happy WF'ing</SPAN></FONT></DIV>
<DIV><FONT face="Microsoft Sans Serif" color=#000080><SPAN
class=950592014-12112007><!-- Converted from text/plain format -->
<DIV class=Section1>
<P><SPAN style="FONT-SIZE: 10pt">Rick Sample<BR>SAP Business Workflow
Developer<BR>Graybar, Inc.<BR>11885 Lackland Dr.<BR>St. Louis, MO.
63146<BR></SPAN></P>
<P></SPAN></FONT><FONT face="Microsoft Sans Serif"
color=#000080></FONT><BR> </P></DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Baunach, Natasha
R<BR><B>Sent:</B> Friday, November 09, 2007 3:07 PM<BR><B>To:</B> SAP Workflow
Users' Group<BR><B>Subject:</B> RE: Question on Deadline
monitoring<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Albina,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">I can’t take credit
for this because I learned it at TechEd a couple of years ago. I think
Marc Pyc was presenting this. Here is an easy and clean solution for
this:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">1. Create a fork step
and set condition that only 1 of 2 branches need to be
complete.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">2. Include all your
steps that you need in one fork<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">3. In second fork, put
task with reference to a method that does not have any code (create an empty
method and then a task for it).<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">4. Set Requested Start
deadline on step in 4 to however many days you need it.
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">If regular workflow
hasn’t finished processing in time, this empty branch will kick in and it will
logically delete any steps in the other branch.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Natasha<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B><SPAN
style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Albina Fernando<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, November 09, 2007 12:42
PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
SAP-WUG@mit.edu<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B>
Question on Deadline monitoring</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">Hi,<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> I need one help regarding the Deadline
monitoring.. There's a scenario wherein.. we have say 5 approvers. And for
each approver there is a deadline date of 3 days. If within 3 days, the approver
is not approving, then a remainder mail should be sent. So for this case, we
have used a Loop Step and inside the loop the Loop step we have used an Event
Creator step that will trigger a workflow to send the workitem to the particluar
agent and in that workitem we have set the deadline date of 3 days. So it will
send a remainder mail if each approver does not approve within 3 days. Now
again... after 5 days, if none of the approvers approve then we have to
terminate the workflow. How can we set this deadline date of 5 days.
<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> Can anyone provide inputs on the above scenario.
Thanks for <st1:City w:st="on"><st1:place w:st="on">ur</st1:place></st1:City>
help..<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">Regards,<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">Albina<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">
<o:p></o:p></SPAN></FONT></P></DIV></DIV></BODY></HTML>