<html 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" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[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 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="address" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street" /><!--[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;}
@font-face
        {font-family:sans-serif;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* 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:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@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" link="blue" vlink="blue">
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Hi John,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ideally you need to define this exception in the method as a temporary error which would give a temporary error when the object
 is locked (Yellow in WF logs). The temporary error can be swept and reprocessed using a Error processing Background Job configured through SWU3 (Configurable intervals). If you are using a standard BO method, Delegate them and change the exception type. This
 should solve the issue.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold">Note:</span></font></b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy">
 You might have to analyze the impact before scheduling the above BG job as this is a system wide configuration for all workflows.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Let me know if this helps,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Simin Raveendran.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center" tabindex="-1">
</span></font></div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;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>kaukabr@yahoo.com<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, March 22, 2011 9:14 AM<br>
<b><span style="font-weight:bold">To:</span></b> SAP Workflow Users' Group<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: BUS2089 Object locked</span></font><o:p></o:p></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p>&nbsp;</o:p></span></font></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0in 0in 0in 0in">
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">You need&nbsp;to develp object method<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On
<b><span style="font-weight:bold">Fri, 3/18/11, John Haworth <i><span style="font-style:italic">&lt;jhaworth@csc.com&gt;</span></i></span></b> wrote:<o:p></o:p></span></font></p>
</div>
<blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;
  margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
From: John Haworth &lt;jhaworth@csc.com&gt;<br>
Subject: BUS2089 Object locked<br>
To: &quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;<br>
Date: Friday, March 18, 2011, 5:24 PM<o:p></o:p></span></font></p>
<div id="yiv283865397">
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
</span></font><font size="2" face="sans-serif"><span style="font-size:10.0pt;
  font-family:sans-serif">Hi all</span></font>
<br>
<br>
<font size="2" face="sans-serif"><span style="font-size:10.0pt;font-family:sans-serif">Quick question, i am developing a workflow for a TRIP expense approval.</span></font>
<br>
<br>
<font size="2" face="sans-serif"><span style="font-size:10.0pt;font-family:sans-serif">The approval task is based on the SAP standard method for background approval. This has a couple of exceptions to capture if the object is locked, when the background approval
 method runs.</span></font> <br>
<br>
<font size="2" face="sans-serif"><span style="font-size:10.0pt;font-family:sans-serif">What is the mechanism (scheduled job name ?) for the workflow to keep revisiting this task waiting for the lock to go, and after a period of time or number of repeated attempts,
 go into error, or take an alternative path?</span></font> <br>
<br>
<font size="2" face="sans-serif"><span style="font-size:10.0pt;font-family:sans-serif">Kind Regards<br>
<br>
John Haworth<br>
SAP PDM<br>
CSC<br>
<br>
Euxton House, <st1:address w:st="on"><st1:Street w:st="on">Euxton Lane</st1:Street>,
<st1:City w:st="on">Chorley</st1:City>, <st1:PostalCode w:st="on">PR7 6FE</st1:PostalCode></st1:address>.<br>
|Office: &#43;44(0)1257 23 6474|Mobile: &#43;44(0)7921069650| email: jhaworth@csc.com|www.csc.com<br>
<br>
CSC &#8226; This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. &nbsp;NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract
 unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose &#8226; CSC Computer Sciences Limited &#8226; Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ, UK &#8226; Registered
 in England No: 0963578</span></font><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
-----Inline Attachment Follows-----<o:p></o:p></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="http://us.mc364.mail.yahoo.com/mc/compose?to=SAP-WUG@mit.edu" ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><o:p></o:p></span></font></p>
</div>
</blockquote>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p>&nbsp;</o:p></span></font></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="2">This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original.
 Any other use of the email by you is prohibited.<br>
</font>
</body>
</html>