Skip to Content

Purchase Requistion - Agent Determination using responsibilities - Issue

Hi Everyone,

I am new to workflow. I am having an issue wrt Purchase Requistion - Agent Determination using responsibilities.

Created some 30 to 40 resposibilities with combination of inputs - R1, P1 & Cost Center

Checked rule with responsibilities in Simulation mode and for the given inputs shows correct output.

Same config is present both in DEV and ACP. Simulation works fine in both systems.

But when I created Purchase Req. in DEV and save it. Workitem is generated for the correct agent. But when I do the same test in Quality, it fails and created Workitems for several agents.

Checked container info. in both systems,no.of agents is the ONLY difference (i.e. 1 in DEV and 30+ agents in Quality).

Put shred some light on this issue.

Workflow Used: BUS2009

Task : TS00007986

Thanks a ton in advance.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 07, 2012 at 05:50 AM


    In the system where you are facing the problem, use transaction SWU_OBUF to refresh the buffers.

    In case of responsibility rules, you should use SWU_OBUF after agent assignment and before using the rule.

    Did you check RULERESULT element in the rule container and check if there is a binding between RULERESULT in the rule container to appropriate workflow container element?



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 07, 2012 at 02:57 AM


    Open the workflow (WS*******) with SWDD and see the bindings for the rule in the approval step (using TS00007986). Do they look the same in both environments? Are you passing the same parameters for the rule?

    Another thing that you should check is a possible authorisation error. Maybe the users are not authorised to execute the needed functions for finding the agent inside the rule (common problem).

    Also try to read the technical workflow log (Start a workflow, open SWI1 and drill-down to the workflow log). Can you see some error messages there? You will probably find a message saying that "cannot execute agent rule" or something like that. It is WF behaviour that if it cannot find an agent it will send the work item to all possible agents (unless otherwise configured).



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.