<div dir="ltr">Hi Rick,<br><br>I understand that WF-BATCH would be the user that would set workitem as obsolete. Let me explain the scenario:<br><br>workitem is in the inbox of say 5 users determined by a agent determination rule. as per thomas email, when any one of them executes the workitem, we know "Executed By" user as well as list of these 5 users in workflow container if we have a binding between _RULE_RESULT and a workflow container element.<br>
<br>Issue is, if we have a modeled deadline.. and WF-BATCH sets workitem to obsolete status using process control step. In this case, we still need list of those 5 users who had the workitem in their inbox. So that we can send them an email saying, they have missed the deadline. In this scenario, contents of _RULE_RESULT are not transfered to workflow container even if we have correct binding. <br>
<br>hope that explains the situation. I am also in the process of creating a method and background step to read agents of the workitem to avoid this problem. <br><br>Let me know if there is another solution to keep the design clean. <br>
<br>Thanks<br>Sudhir<br><br><div class="gmail_quote">2008/7/31 Sample, Rick <span dir="ltr"><<a href="mailto:Rick.Sample@graybar.com">Rick.Sample@graybar.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div vlink="purple" link="blue" lang="EN-US">
<div dir="ltr" align="left"><span><font face="Microsoft Sans Serif">
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>Thomas,</span></span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span></span></span> </p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>Sorry, I may be jumping into the middle and
</span></span><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>I may be missing something but I don't see the
issue. </span></span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>How is the task terminating? By the deadline itself?
i.e. an actual agent does not have to execute </span></span></span></span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>the task for it to
complete?</span></span></span></span></p></font></span><div class="Ih2E3d">
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span></span></span> </p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>>></span>Ran into the same issue, if the work
item is executed then the <i><span style="font-style: italic;">_</span>Rule_Result</i> </span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>>></span>is populated and you have what you
need. </span></p>
</div><p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>An 'actual agent' executed the task, and you have an
agent. </span></span></p><div class="Ih2E3d">
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span></span></span> </p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>>></span>But if not executed, like when a
deadline is reached, you get nothing - very annoying.</span></p>
</div><p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>If the deadline is reached, and no 'actual agent'
executed the task, I would think </span></span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>you would <i>not</i> want to populate the <span style="font-style: italic;">_</span><i>Rule_Result. </i>Would only
have WF-BATCH as the agent </span></span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>because WF-BATCH is the user that tripped the Deadline.
Not an agent. </span></span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span></span></span> </p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;">Sudhir,</span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>>>note can not be applied as it doesn't match
correct version. </span></span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span>Hmmm... What version are you on? Service Patch
level?</span></span></p></span></span><span><font face="Microsoft Sans Serif"></font></span></div>
<div dir="ltr" align="left">
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span></span></span> </p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span><font color="#000000">I will be upgrading another 4.6c to
ECC6 soon, so I have interest in this issue you are experiencing.
</font></span></span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><span><font color="#000000">The last system I do not believe I
had this scenario.</font></span></span></p></div>
<div dir="ltr" align="left"><span><font size="2" color="#000000" face="Microsoft Sans Serif"><span style="font-size: 10pt; color: navy; font-family: Arial;"><span><span style="font-size: 8pt; color: rgb(51, 153, 204); font-family: Arial;"></span></span></span></font></span> </div>
<div dir="ltr" align="left"><span><font face="Microsoft Sans Serif"><span style="font-size: 10pt; color: navy; font-family: Arial;"><span><span style="font-size: 8pt; color: rgb(51, 153, 204); font-family: Arial;"><br><span style="font-weight: bold; color: rgb(0, 0, 0);">Rick Sample</span> <span style="color: rgb(0, 0, 0);">| </span>Workflow Analyst/Developer<br>
11885 Lackland
Road<span style="color: rgb(0, 0, 0);"> | </span>Maryland Heights, MO 63146 <span style="color: rgb(0, 0, 0);">| </span>Office (314) 573-5700<span style="color: rgb(0, 0, 0);"> | </span><a href="mailto://rick.sample@graybar.com" target="_blank">rick.sample@graybar.com</a> <br>
<a href="http://www.graybar.com/" target="_blank">www.graybar.com</a> - <i>Works to Your
Advantage</i> <br><br><img alt="Graybar® works to your advantage" src="cid:451123917@31072008-3042"> </span></span></span></font></span></div>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"></span> </p><font size="2" face="Microsoft Sans Serif"></font><font size="2" face="Microsoft Sans Serif"></font><font size="2" face="Microsoft Sans Serif"></font><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font size="2" face="Tahoma"><b>From:</b> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>
[mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Maue,
Thomas<br><b>Sent:</b> Thursday, July 31, 2008 12:05 PM<div class="Ih2E3d"><br><b>To:</b> SAP
Workflow Users' Group<br></div><b>Subject:</b> RE: _RULE_RESULT
binding<br></font><br></div><div class="Ih2E3d">
<div></div>
<div>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;">Sudhir,</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;">Ran into the same
issue, if the work item is executed then the <i><span style="font-style: italic;">_</span>Rule_Result</i> is populated and you have
what you need. But if not executed, like when a deadline is reached, you
get nothing - very annoying.</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;">I had to add a
background step to return the rule agents before routing the escalation to
managers or sending an SAP notification to agents. Some of these were
responsibilities type rules so had to create a method to find agents since there
was no corresponding function module to execute.
</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;">Would have been a lot
easier/cleaner if <i><span style="font-style: italic;">_</span>Rule_Result
</i>was populated!</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;">Regards,</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;">Thomas
Maue</span></font></p>
<div>
<div style="text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span style="font-weight: bold; font-size: 10pt; font-family: Tahoma;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Sudhir Pargaonkar<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, July 31, 2008 10:39
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> _RULE_RESULT
binding</span></font></p></div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Hi All, <br><br>I am on ECC 6.0 system.. I want to get
result of agent determination rule into workflow container so that I can send
all these users reminder email once the deadline is reached. <br><br>In earlier
systems, it used to work fine.. but now, no values are being passed to workflow
container even though the binding is correct. I tried to apply SAP NOTE 707767
but it says, note can not be applied as it doesnt match correct version.
<br><br>any suggestions on how to fix this issue? I can always create a new step
and a method to find out list of agents selected, but wanted to do it the right
way..<br><br>thanks<br>Sudhir</span></font></p></div></div></div></div>
<br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="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><br>
<br></blockquote></div><br></div>