on 07-20-2017 11:37 AM
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.
Hi,
Please share screenshot of workflow rule binding and runtime workflow log of container value
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.