Skip to Content

WI is getting triggered to all agents in development .

Hi all ,

I create decision step with custom include text with Rule which used to determine reviewer id i.e to whom the WI should triggered but my WI is getting triggered all agents in development client .Rule is working fine as i tested simulating custom FM as well as binding .Please reply me if anyone has any inputs on same.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Mar 30, 2015 at 11:48 AM

    HI,

    By checkin 'Terminate if rule resolution has no result' in PFAC , you can find your solution

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Mrinal

      Get the position ID of initiator using FM BAPI_USER_GET_DETAIL and pass the same in the Rule binding. Bidn it with &POSITION_ID&

      Also check if WF-BATCH has SAP_ALL authorisation. The agent determination in rule might be failing due to missing HR authorization .Switch on the trace via ST01 for WF_BATCH and check the results.

      Regards

      sandy

  • author's profile photo Former Member
    Former Member
    Posted on Mar 30, 2015 at 11:43 AM

    Hi Mrinal,

    If the work item reached all users inbox, it means the agent determination is failed to get agents.

    In SWIA workflow log, select the dialog work item and check the agent.

    Also when creating rule, there is a check box as 'Terminate if rule resolution has no result'. Just tick the check box and check the workflow. This option will set the workflow status to error. So the work item will not be send to all approvers.

    Thanks,

    Vijay,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 30, 2015 at 10:57 AM

    Please check the workflow technical log and check container of workflow rule.

    I think, rule did not return any agents.

    For that approval task, please check agent assignments. Please restrict to specific group in agent assignment [user/role etc. ]

    Add a comment
    10|10000 characters needed characters exceeded

    • Thanks Rushikesh ,

      While i am simulating the custom rule it's properly returning agents . What i did , I create container in rule and passed wf-intitiator to reviewer container created in rule and bind it in (wf->rule con) .Is this right approach i am doing . Please find attach screen shot of Rule binding .

      Thanks

      Capture.JPG (82.5 kB)

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.