and more in a single search tool across platforms. Read the announcement here. |
01/03/2024 04:27 AM
Hi All,
We are using serial type workflow with SOD condition but IF/ELSE block condition is not working. As per the document, Entitlement variables are not available for serial type workflow. In this scenario, is there a way to implement a conditional check based on the entitlement owner?
Freshdesk document
Workflow Screenshot:
Thanks,
Solved! Go to Solution.
01/03/2024 04:41 AM
You need to use parallel workflow
01/03/2024 08:56 PM
Any specific reason not to use Parallel workflow?
01/04/2024 04:49 AM
Thank you @rushikeshvartak @Manu269
Tried with parallel workflow but same error.
We have a AD based application(Endpoint_Filter), which is using AD workflow for access request. In workflow, After IF ELSE check, control is going to both TRUE and FALSE condition block. Tried with both the type(Serial and Parallel) still the same output. This is only happening for Endpoint Filter application not for AD.
Also not seeing any relevant error in log. Attaching the logs and screenshot of workflow.
01/04/2024 04:51 AM - edited 01/04/2024 04:53 AM
Sod / entowners which condition is not working ?
sod conditions try sod > 0
ent owner
entitlement.entowners.size() eq 0
01/04/2024 05:41 AM
entowners condition is not working.
With condition entitlement.entowners.size() eq 0 unable to submit the access request. Seeing below error in logs
------------------
01/04/2024 07:53 PM
Share wf transport. and make sure workflow type is parallel
01/05/2024 12:30 AM
01/05/2024 10:30 AM
Use attached
01/08/2024 06:21 AM
Thank you.
No luck with updated WF, it's going to both TRUE and FALSE blocks.
01/08/2024 09:51 AM - edited 01/08/2024 06:05 PM
@PHN : Are you submitting request for only entitlement or new account along with entitlement? if your request has new account along with entitlement then it will not work because account will not have entitlement object
01/09/2024 12:35 AM
oh yes, that was the issue. I was requesting new account along with entitlement. I will segregate both requests. Thank you for pointing this out.
All good now. thank you @sk @rushikeshvartak
01/04/2024 07:42 AM - edited 01/04/2024 07:46 AM
@PHN : Remove entitlement.entowners ==null condition in your ent owner if-else check only use entitlement.getOwnerRank1().size() eq 0 condition and try.
If you have owners at different rank and any rank owner can approve the request then change the condition to below
entitlement.getOwnerRank1().size() eq 0 && entitlement.getOwnerRank2().size() eq 0 && entitlement.getOwnerRank3().size() eq 0 && entitlement.getOwnerRank4().size() eq 0 && entitlement.getOwnerRank5().size() eq 0
01/04/2024 10:34 AM
Thank you @sk
Tried with this condition entitlement.getOwnerRank1().size() eq 0
but still same error, workflow exception.
01/08/2024 10:45 AM
01/17/2024 07:03 AM
Hi ,
Please point the if-else condition false node to either assign or reject the access.
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.