Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

ARS task approver comments not passing for emergency role

Anu
Regular Contributor
Regular Contributor

Hi Team,

In reference to the below post we tried to pass the ARS comments in the SNOW ticket body. The request comments and approver comments pass through as expected for enterprise role request but for emergency role request only request submission page comments passthrough and approver comments are not getting passed. Could you please suggest.

\\\\nComments:${task.requestKey==null?'':task.requestKey?.comments?.replaceAll('<.*?>','').replaceAll('\\n','').replaceAll('\\r','').replaceAll('[^ -~À-ÿ]+','').replaceAll(new String('XFw='.decodeBase64()),new String('XFxcXA=='.decodeBase64()))} \\\\n

Enterprise Role :

Request page comments and Approver comments both are populated as expected in ticket

Anu_0-1718815243764.png

Emergency Role:

Request page comments are populated and Approver comments not populated in ticket

Anu_1-1718815400852.png

Reference Post: https://forums.saviynt.com/t5/identity-governance/passing-the-comments-and-justifications-as-an-attr...

Thanks in advance

7 REPLIES 7

rushikeshvartak
All-Star
All-Star

This is looks like product limitation. Please raise idea ticket

 


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

Anu
Regular Contributor
Regular Contributor

In the dataAnalyzer we see that the emergencyrole approver comments are being stored in below columns. Is there any binding variable to fetch the same in connector? 

We have tried the below which is not working. Please suggest

Comments:${task?.requestKey?.request_accesss?.comments?.get(0)}

Anu_0-1718866977794.png

 

If it working for one role type it should work for all.


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

Anu
Regular Contributor
Regular Contributor

@rushikeshvartak Thanks for the response .The comments highlighted in yellow works in our code..but the approver comments circulated in black doesnt get resolved ..it seems to have a different binding variable. Could you please share any sample reference to resolve the same please.

 

\\\\nComments:${task.requestKey==null?'':task.requestKey?.comments?.replaceAll('<.*?>','').replaceAll('\\n','').replaceAll('\\r','').replaceAll('[^ -~À-ÿ]+','').replaceAll(new String('XFw='.decodeBase64()),new String('XFxcXA=='.decodeBase64()))} \\\\n

 

Anu_0-1718954027460.png

[This message has been edited by moderator to mask company logo]

it will be ars_requests.comments


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

Anu
Regular Contributor
Regular Contributor

We have tried the above @rushikeshvartak  but it did not work and there is no significant error as well in the logs. We also tried couple of other syntaxes as well but still the issue persists.

${accessItems.collect{it.comments}.join(',').toString().substring(accessItems.collect{it.comments}.join(',').toString().lastIndexOf(allApprovers.collect{it.username}.join(',').toString().trim()+')] ')+(allApprovers.collect{it.username}.join(',').toString().trim()+')] ').length())}

It does not seems it’s supposed raise idea ticket


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