09/22/2022 01:20 PM
I cannot find anything specifically in the documentation about this, but I am recollecting (perhaps incorrectly) that at one time within workflow the detection for entitlement owner occurred automatically.
For example, if you have a three step workflow: 1) Send to user group for approval, if approved 2) Send to entitlement owner for approval, 3) send to manager for approval
In this scenario must you configure a condition block to check for entitlement owner or will it automatically go from step 1 >> step 3 if there is no entitlement owner for the specified entitlement on the request?
I am testing only on a one-level workflow and it appears to *always* assign for approval even if the entitlement owner is not there. It will assign to the admin user instead.
Solved! Go to Solution.
09/22/2022 02:24 PM
If there is no entitlement owner for the requested entitlement and you have a workflow element for approval, by default, it goes to Admin.
If the entitlement owner themselves is requesting the access, then that step should be auto approved.
09/22/2022 08:54 PM
@BrandonLucas_BF Please use below 2 condition which will satisfy your requirement
No Owner : entitlement.entowners.size() eq 0
Owner & Requestor is same : entitlement.allowner.contains(user.username) eq true
09/23/2022 06:33 AM
Thank you both. I had limited success with the condition block until seeing the example from Rushikesh. It works perfectly. Cheers!