We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Salesforce Connector -'No such property: entitlementValue' in addaccess task

IAM_99
Regular Contributor II
Regular Contributor II

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 ?

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

In createAccountJSON you can't use entitlements 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

rushikeshvartak
All-Star
All-Star

arsTasks.entitlement_ValueKey.entitlementid


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

IAM_99
Regular Contributor II
Regular Contributor II

this works in REST connector.

any other ways ?

We want to pass 'Profileid' dynamically in create Account JSON  based entitlement selected 

Same should work in Salesforce as well.

instead of entitlementvalue parameter use arsTasks.entitlement_ValueKey.entitlement_value in your condition


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.