Hello,
We are using a workflow to approve Purchase requisition and Invoices. The workflow is based on position hierarchy (all worker are link to one position and one position report to another one).
We have an issue when a position is vacant, the workflow stopped because it cannot find any user to assign the workflow item. I wonder if there is a way to setup a rule to go directly to the level up if one position is vacant.
For example A & B report to C, and C report to D. If A create a PR, the workflow goes to C. Issue is if C is a vacant position, can we setup the workflow to go directly to D in this case?
Thanks for your help
*This post is locked for comments
Hello Violaine,
How far does your workflow go and where does it stop?
Are you using signing limits, and are they seperate for each of those positions?
If you are using signing limits, and your workflow goes to a higher position according to this,the following setup can be helpful.
If open positions' job ids get set to a signing limit of zero, you will be able to set this condition in "exclude users" condition. And you would not be getting any error unless your top position is open,too; Or it has insufficient signing limit.
Hello Baber,
Thanks for your answer, but it is not working. The conditions are based on the employee and not the position.
Hi Violaine.
What I have found is that if you are creating some advanced assignment rules the easiest option is always to create a custom Partipant provider for the workflow.
As an alternative in this example you could customise the Hierarchy provider to automatically skip these steps.
Functionally I don't think this is possible, however can be done using a minor customization in workflow class "WorkflowConfigPersonPicker".
Hi Violaine,
I assume that you are using the assignment type Hierarchy in the workflow configuration. Have you tried to add the condition for 'Exclude users with the following conditions' under Hierarchy options tab as shown below?
Thanks,
Baber.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156