Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Retrieve role property issue

Anu
Regular Contributor
Regular Contributor

We have used the below syntax in REST connector createaccountjson in 5.5 version However now in EIC 24.3 noticing that the below syntax is not fetching value from the role during account provisioning.

Is there a syntax change in this version or if there is anything else to be tried. Could you please assist?

${arsTasks?.assignedFromRole?.customproperty10} 

${if(arsTasks?.assignedFromRole?.customproperty10!=null) arsTasks?.assignedFromRole?.customproperty10 else ''}

 

17 REPLIES 17

rushikeshvartak
All-Star
All-Star

arstasksObj?.assignedFromRole?.customproperty10


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Anu
Regular Contributor
Regular Contributor

Thanks @rushikeshvartak for the response. I have tried the above given still the value is sent as null

\"Title\":\"${if(arstasksObj?.assignedFromRole?.customproperty12!=null) arstasksObj?.assignedFromRole?.customproperty12 else ''}\"

 

assignedFromRoles


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Anu
Regular Contributor
Regular Contributor

@rushikeshvartak  Tried the below as well,still the value is null. The same code was working 5.5 version and in 24.3 we are facing issue.

\"Title\":\"${if(arstasksObj?.assignedFromRoles?.customproperty12!=null) arstasksObj?.assignedFromRoles?.customproperty12 else ''}\"

 

If you have recently upgraded and its not working please raise support ticket as regression defect


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Anu
Regular Contributor
Regular Contributor

Thanks for the update @rushikeshvartak  . So ideally we can read role property in CreateAccountJSON for REST connector. Its supported but might be a version specific issue?

${arsTasks?.assignedFromRole?.customproperty10} 

It can be version issue


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

naveenss
All-Star
All-Star

Hi @Anu in the data analyzer, if you query the assignedFromRole for the specific task, do you see any value?

select taskkey,assignedfromrole from arstasks where taskkey=<taskkey>;

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Anu
Regular Contributor
Regular Contributor

Hi @naveenss ,

The assignedfromrole and assignedfromroles column is blank for new account task. We have raised an FD ticket for the same.

Just for testing we tried and manually update assignedfromrole column in DB, the respective column value gets map as expected to target.

@Anu how are the tasks created? Is it from application role or enterprise role? 

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Anu
Regular Contributor
Regular Contributor

@naveenss Its an enterprise role which includes salesforce entitlements mapped

Hi @Anu in 24.4 the assignedfromrole value is populated in the arstasks table. I hope you are requesting the enterprise role from "Request New Enterprise Role" page?

naveenss_0-1720704478836.png

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Anu
Regular Contributor
Regular Contributor

Hi @naveenss ,

Ideally yes the values should get populated in arstask table but its not working in our environment. We are requesting the roles from "Request New Enterprise Role" page only.

@Anu thanks for confirming. Could be a defect. Please check with the Saviynt support team. 

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

It will be blank for account task. It will be there for access task i.e. tasktype=1


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

@rushikeshvartak in case of enterprise role request, it will be populated for account task as well. please see screenshot below

naveenss_0-1720705547835.png

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Ok can be issue with 24.3 👍


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.