<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Viewing Selected Agents for a Completed Workitem</TITLE>
 
<META content="MSHTML 5.00.3103.1000" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>Hi
Dave, </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>The
way the system usually works is that selected agents are only considered
relevant BEFORE the work item is completed.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>After
the work item is completed you can only see the ACTUAL AGENT.
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=559472500-01022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>Of
course the scenario you have described does happen and there are a couple of
ways to solve this:</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=559472500-01022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>1) Use
ad hoc agent assignment (the list of agents is available before and after the
workitem is executed)</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=559472500-01022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>2)
Calculate your agents in advance (e.g. in a prior step, if it's an agent
determination rule you need to call a task/method that calls
RH_GET_ACTORS</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>to
calculate the rule and return the agent list), put them into a workflow
container element&nbsp; (multiline of course based on SWHACTOR).
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>Then
you can use an expression to pass the list of agents to the step itself, and
still be able to see the original list after the work item is
completed.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>Which
is essentially part of what happens when you use ad hoc agent assignment.
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=559472500-01022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>Hope
that helps. </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=559472500-01022002>Regards,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=559472500-01022002>
<DIV style="HEIGHT: 90px; WIDTH: 374px"><FONT size=2>
<TABLE>
  <TBODY>
  <TR>
    <TD></TD></FONT>
    <TD>
      <DIV><FONT size=2><FONT color=#0000ff>Jocelyn Dart</FONT> <BR><FONT
      color=#0000ff>Consultant (EBP, BBP, Ecommerce, Internet Transaction
      Server, Workflow)</FONT> <BR><FONT color=#0000ff>SAP
      Australia</FONT></FONT></DIV>
      <DIV><FONT color=#0000ff><FONT size=2>Email </FONT><A
      href="mailto:jocelyn.dart@sap.com"><FONT
      size=2>jocelyn.dart@sap.com</FONT></A><BR><FONT size=2>Tel: +61<SPAN
      class=153385400-09052000> 412 390 267</SPAN><BR>Fax: +61&nbsp;2 9935
      4880</FONT></FONT></DIV></TD></TR></TBODY></TABLE></DIV></SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
  size=2>-----Original Message-----<BR><B>From:</B> Beverlin, Dave
  [mailto:Dave.Beverlin@kcc.com]<BR><B>Sent:</B> Friday, 1 February 2002 9:29
  AM<BR><B>To:</B> SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Viewing Selected
  Agents for a Completed Workitem<BR><BR></DIV></FONT>
  <P><FONT face=Arial size=2>Greetings all.</FONT> </P>
  <P><FONT face=Arial size=2>I have a question about using the workflow log to
  view Selected Agents.</FONT> </P>
  <P><FONT face=Arial size=2>When a workitem is in Ready status, you can look in
  the technical workflow log and see the Selected Agents, Possible Agents, and
  Excluded Agents. After the workitem has been processed and is in Completed
  status, you can only see the Possible Agents and Excluded Agents. For
  trouble-shooting purposes, I sometimes need to see the entire list of Selected
  Agents after a workitem has been processed. However, all I can now see is the
  Actual Agent in the log; the option to view Selected Agents is no longer
  available. Does anybody know a way that I can determine who the Selected
  Agents for the workitem were, after the workitem has been completed? Thanks
  for your help.</FONT></P>
  <P><FONT face=Arial size=2>Regards,</FONT> <BR><FONT face=Arial
  size=2>Dave</FONT> </P>
  <P>------------------------------------------------------------------------------<BR>This
  e-mail is intended for the use of the addressee(s) only and may contain
  privileged, confidential, or proprietary information that is exempt from
  disclosure under law. If you have received this message in error, please
  inform us promptly by reply e-mail, then delete the e-mail and destroy any
  printed copy. Thank
  you.<BR><BR>==============================================================================</P></BLOCKQUOTE></BODY></HTML>