Role resolution error

Srinivasan Ramanan r_m_n_n at hotmail.com
Wed Oct 31 14:34:48 EDT 2007


Thank you Flavio,
My task is a general task. I did the debug and found the following.
       FM  YXXX is returning the agents
   but FM RH_GET_ACTORS is evaluating this table form excluded agents and others.
 
At that point of time there is a check if this task is a general task....
 
for this task general task flag is 'BLANK' hence all the actors are going into error tab.
 
I check the task definition in both task and workflow...it is defined as general task and executable by al l users..
 
Now I know the problem.....thank you so much for your tip...
But I still did not find  a solution.
 
 
thanks Gurus
Ramanan


From: oliveiraflavio at hotmail.comTo: sap-wug at mit.eduSubject: RE: Role resolution errorDate: Wed, 31 Oct 2007 13:40:16 +0000


Your task is probably a "General Task". What is happening is that the role did not find any valid agent to send the task. What I suggest is to debug the function module to verify why the role could not find the correct agent.Regads,Flavio.


From: r_m_n_n at hotmail.comTo: sap-wug at mit.eduSubject: Role resolution errorDate: Wed, 31 Oct 2007 09:21:35 -0400



Hi Gurus,
This question may be frustrating but I am hitting the wall , please help me.
 
4.6C / 620
Workflow is running OK.
Using role 'AC90XXXX1' with function module YXXXX for resolving the agents.
This is a custom workflow implemented 9 months ago and no issues in resolving the role
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.
I wrote a program and used FM RH_GET_ACTORS passed the right values for the BO and got the roles resolved for all the tasks.
 
Situation :
            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.
            Included this task in the workflow and tested everything OK.
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. 
             This works OK in my development system.
 
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.
 
Thanks for your inputs.
 
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.
 

Peek-a-boo FREE Tricks & Treats for You! Get 'em! 

Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it! 
_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20071031/7be406f5/attachment.htm


More information about the SAP-WUG mailing list