and more in a single search tool across platforms. Read the announcement here. |
02/02/2023 05:47 AM
Hi Team,
we have Salesforce connector ( Entitlementsonly in Security system), in CreateAccountJSON we are checking this condition
{"ProfileId" : ${(entitlementValue.entitlementID!=null && (entitlementValues.entitlementID == 'Admin' || entitlementValue.entitlementID == 'Administrator')?'00e0b1':'00e0b1')}" }
We are getting below error on addaccess task.
No such property: entitlementValues for class: SimpleTemplateScript877
any idea ?
Solved! Go to Solution.
02/02/2023 05:48 AM
In createAccountJSON you can't use entitlements
02/02/2023 05:53 AM - edited 02/02/2023 05:54 AM
arsTasks.entitlement_ValueKey.entitlementid
02/02/2023 05:56 AM
this works in REST connector.
any other ways ?
We want to pass 'Profileid' dynamically in create Account JSON based entitlement selected
02/02/2023 06:29 AM
Same should work in Salesforce as well.
instead of entitlementvalue parameter use arsTasks.entitlement_ValueKey.entitlement_value in your condition