Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/15/2023 11:06 PM
Hi Everyone,
How to check the entitlement value check in Conditional If Else workflow ?
Usecase - If Entitlement E1 having customproperty15 has 'ABC' value and requested through ARS for Endpoint EDP1 then it should follow manager approval process other wise it should be auto approved.
Below syntax I was using as per the fresh desk document but it is not working as expected.
condition - >> entitlement.customproperty15.contains('ABC')
Any suggestions please to make this working?
Regards,
Harish
06/15/2023 11:21 PM
hi @harishyara ,
change the expression language in the if/else condition to "select". I see you have selected groovy as the expression language now.
06/19/2023 06:05 AM
Hi @naveenss,
I changed the expression language in the if/else condition to "select". But condition check is still failing for entitlement. Please let me know if this syntax is correct entitlement.customproperty15.contains('ABC') ??
06/19/2023 06:37 AM
Hi @harishyara , Can you confirm if you're seeing any error in logs? Also, can you please try the below format in the if/else with expression language as "select"
entitlement.customproperty15 eq 'ABC'
06/19/2023 06:52 AM
Can you try this?
{entitlement.customproperty15 == 'ABC'}
Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.
06/19/2023 07:05 AM
06/19/2023 07:07 AM
Provide screenshot of the workflow.
Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.
06/19/2023 07:09 AM
06/19/2023 07:29 AM
06/19/2023 07:46 AM
Don't see any issues with the configs. Can you please share the logs for any one of the requests? Do you see any error in the logs?
06/19/2023 10:08 AM
06/19/2023 10:31 AM
Hi @harishyara , kindly remove the braces {} before and after the expression and try again.
06/19/2023 03:21 PM
entitlement.customproperty15.equalsIgoreCase( 'ABC')
block name avoid spaces
06/20/2023 01:55 AM
Hi @rushikeshvartak - Tried with entitlement.customproperty15.equalsIgoreCase( 'ABC'). Still no luck. Able to pull this error out.
Regards,
Harish