<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Problem in Agent determination</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=264231403-17032005><FONT face=Arial
color=#0000ff size=2>Sounds like a timing/perfomance problem - maybe the data
you use to find your agent doesn't exist/isn't updated at the workflow starts?
Wouldn't happen to be a PCR or ISR scenario by any chance? Or are you
raising events via a batch process?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=264231403-17032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=264231403-17032005><FONT face=Arial
color=#0000ff size=2>You could try slowing it down by sending your event linkage
to the event queue and using the event queue job to deliver the events.
See trans SWEQADM. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=264231403-17032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=264231403-17032005><FONT face=Arial
color=#0000ff size=2>Jocelyn </FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<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>Gonzalez Cartagena,
Cristian A.<BR><B>Sent:</B> Thursday,17 March 2005 4:02 AM<BR><B>To:</B>
'sap-wug@mit.edu'<BR><B>Subject:</B> Problem in Agent
determination<BR></FONT><BR></DIV>
<DIV></DIV>
<P><FONT face=Arial size=2> Hi All,</FONT> </P>
<P><FONT face=Arial size=2>We have a simple rule that determines the agent
from a Z table, using PFAC.</FONT> <BR><FONT face=Arial size=2>In QA
environment the workflow was tested OK, but in PRD client we got a problem
"Workflow nnnnn step 61: Error or exception resolving role 'AC90100004'
".</FONT></P>
<P><FONT face=Arial size=2>The error occurs in the first task of the workflow.
</FONT></P>
<P><FONT face=Arial size=2>If workflow is restarted from transaction
SWPR, the user task is routed to the right agent.</FONT> </P>
<P><FONT face=Arial size=2>The problem is for the same user starting the same
workflow in different times along one day: some workitems are OK, but other
workitems are wrong (appear in SWI2_DIAG with "agent" mark).</FONT></P>
<P><FONT face=Arial size=2>Any help is highly appreciated.</FONT> </P>
<P><FONT face=Arial size=2>Cristian</FONT> </P><BR></BLOCKQUOTE></BODY></HTML>