Skip to Content

Workflow Agent determination rule is getting fail despite of valid agent assignment.

Hi,

We have a rule that is getting failed each time when it is running in the background.

if we are restarting the workflow manually, It is working fine and routing to correct approvers.

at run time the agent determination is getting failed and the WF goes into an error because of it. However when i restart the WF via SWPR it works well and the agent determination works well either.

Note: Task is defined as general task

Pls suggest what could cause this problem. If there is a problem in responsibility rule then why it works after restarting from SWPR.

12.png (9.3 kB)
13.png (16.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jul 24, 2017 at 09:48 AM

    Hi WA,

    first check why WF going to error, why you need SWPR all the time.

    Check your bindings.

    Do check the org-unit's validity for that object-id, may it be USER, POSITION or whatever you maintaining.

    Hope it helps.

    Aditya V

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 20, 2017 at 11:51 AM

    A very wild guess, it could be an authorization issue as the background gets executed under the WFBATCH and the manual execution is your id. Especially if your Rule has some HR info-type reads etc, it is worth checking for access.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 21, 2017 at 07:42 AM

    Hi

    Another guess, try to find if at runtime the value of your criteria (plant) is available, may be you need a small delay to get it available.

    Your rule seems to work from the screen shot. if using SWPR it works then the problem is not in the binding itself but certainly in the availability of the values at runtime.

    One thing that can help you determine if this is the problem is to add a container in your workflow for the plant and before your dialog step add a container operation from the object attribute to the container plant.

    then when you determination fails you can check if the container is filled.

    Cheers

    Stephane

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 26, 2017 at 06:51 AM

    Hi,

    Please share screenshot of workflow rule binding and runtime workflow log of container value

    Thanks

    Add comment
    10|10000 characters needed characters exceeded