Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/30/2024 08:41 AM
we have a requirement where if country code is in (US,CA,MX) then it should go to approval to a user group else to other usergroup.
i am trying to directly use the value of dynamic attribute as ${countrycode} but its not working out for me.
Has anyone worked on such scenario before ?
Solved! Go to Solution.
04/30/2024 10:20 AM
@Rajatlm10 can you share workflow and query please
04/30/2024 10:37 AM
Try below
Here 'Type of Client' is the name of the dynamic attribute.
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.
04/30/2024 11:30 AM
@Rajatlm10 : Use below if you have not mapped Dynamic attribute to any columns
(dynamicAttributes.get('countrycode') =='US'))
Otherwise use below format
(dynamicAttributes.get('<column name>') =='US'))
OR you can use this
String.valueOf(dynamicAttributesReqAccess.get(requestaccesskey).get('countrycode'))=='US'
04/30/2024 08:24 PM
\
(dynamicAttributes.get('countrycode') =='US')|| dynamicAttributes.get('countrycode') =='CA') || dynamicAttributes.get('countrycode') =='MX') )
05/01/2024 04:58 AM - edited 05/01/2024 05:24 AM
@rushikeshvartak @Saathvik @dgandhi Thanku for the reply its working fine now!
05/01/2024 06:13 AM
Please mark all the relevant responses as Accepted Solution so that it help others facing similar issue.
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.