<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Your task is probably a "General Task". What is happening is that the role did not find any valid agent to send the task.<BR>
&nbsp;<BR>
What I suggest is&nbsp;to debug the function module to verify why the role could not find the correct agent.<BR><BR>Regads,<BR>
Flavio.<BR>
<BLOCKQUOTE>
<HR>
From: r_m_n_n@hotmail.com<BR>To: sap-wug@mit.edu<BR>Subject: Role resolution error<BR>Date: Wed, 31 Oct 2007 09:21:35 -0400<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass EC_body.hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
<BR>
<BLOCKQUOTE>
<DIV>Hi Gurus,</DIV>
<DIV>This question may be frustrating but I am hitting the wall , please help me.</DIV>
<DIV>&nbsp;</DIV>
<DIV>4.6C / 620</DIV>
<DIV>Workflow is running OK.</DIV>
<DIV>Using role 'AC90XXXX1' with function module YXXXX for resolving the agents.</DIV>
<DIV>This is a custom workflow implemented 9 months ago and no issues in resolving the role</DIV>
<DIV>Z is table used to get the agents for each task. I have to choos this because of frequent changes in SAP users and some other company restrictions.</DIV>
<DIV>I wrote a program and used FM <FONT size=1>RH_GET_ACTORS passed the right values for the BO and got the roles resolved for all the tasks.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Situation :</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I created a task and assigned this role. Because this role will call the FM, based on the current status of the object FM will determine who is the agent for this task / status.</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Included this task in the workflow and tested everything OK.</DIV>
<DIV>In the workflow log when I click on the agents, I get possible agents displayed. When some on owns the task it has an icon to indicate that agains that agent. </DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This works OK in my development system.</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>The Question is : This does not happen in my test system. The task is sent to all users. I purposely did not select the check bkx to terminate the WF if role resolution results in error.</STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for your inputs.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I wrote such a long e-mail to reduce many back and forth questions. If you have any suggestions please do not hesitate to push the ball back and forth in the court.</DIV>
<DIV>&nbsp;</DIV></BLOCKQUOTE><BR>
<HR>
Peek-a-boo FREE Tricks &amp; Treats for You! <A href="http://www.reallivemoms.com/?ocid=TXT_TAGHM&amp;loc=us" target=_blank>Get 'em!</A> </BLOCKQUOTE><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>