Skip to Content
author's profile photo Former Member
Former Member

All the agents receive the work item

Hi

I create workflow to display a PO (ME21N) after the creation. this workflow contains a rule that specify the agent according the purchasing group. the attribute of the task is: Forwarding not allowed.

the rule is entered at the User Decision and at th the activity : AC Rule ###.
the problem is that the all agents receive the work item when the PO is created. Normally, only one should received according to the rule

please help

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2013 at 01:42 PM

    Hi,

    Manually execute the rule by giving input check how many user u r getting.

    Make task as Generic task.

    Regards,

    Ragav

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Tom,

      Normally all users get workitem when agent determination fails for task with a rule.

      If you are using a function module for rule please check by simulating that FM with the same parameters and at the end if ACTOR tab is filling for this scenario.

      If its blank please assign some static user ids to this so that it will go to that specific user if agent determination fails.

      Regards,

      Jayaraj

  • Posted on Aug 26, 2013 at 08:56 AM

    Hi,

    Are you sure that your rule is returning one agent only. Just recheck and simulate the rule in pfac. If then also one agent is showing , then share your user decision step agent assignment screenshot

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Tom !

      I suppose the format with which you simulate the rule container &ORG_OBJECT_ID in PFAC transaction is not how the value to rule container is passed from workflow container in run time.

      From your screen shot, the rule is simulated with " T024 0002". This could be passed as "T0240002" in run time. So, check in workflow log in what format the workflow container, which passes the value to rule container, is conceived.

      Regards,

      S.Suresh.

  • Posted on Aug 26, 2013 at 09:25 PM

    Hello,

    I would check the values in the workflow log and re-check the bindings. The rule is not getting the values you think it's getting.

    You can avoid having every user receive the workitem by setting the rule to fail if no agent is returned.

    regards

    Rick Bakker

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 28, 2013 at 02:01 PM

    hi,

    In all probability something is amiss in the binding from the workflow (or task) to the rule.

    check if the bindings are correct and also if you use the same ddic references.

    Then use the workflow log to see if and how the containers are populated at runtime.

    Now test your rule using these values and see what the outcome is.

    Kind regards, Rob Dielemans

    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.