Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners click HERE | EMEA/APJ Partners click HERE |
06/19/2024 09:46 AM
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
Emergency Role:
Request page comments are populated and Approver comments not populated in ticket
Reference Post: https://forums.saviynt.com/t5/identity-governance/passing-the-comments-and-justifications-as-an-attr...
Thanks in advance
06/19/2024 10:36 PM
This is looks like product limitation. Please raise idea ticket
06/20/2024 12:04 AM
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)}
06/20/2024 10:18 PM
If it working for one role type it should work for all.
06/21/2024
12:15 AM
- last edited on
06/21/2024
02:38 AM
by
Sunil
@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
[This message has been edited by moderator to mask company logo]
06/21/2024 07:50 AM
it will be ars_requests.comments
06/25/2024 10:34 PM
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())}
06/25/2024 11:10 PM
It does not seems it’s supposed raise idea ticket
07/02/2024 12:07 PM
@Anu it this resolved i see another thread on same line https://forums.saviynt.com/t5/identity-governance/snow-connector-businessjustification-emergency-rol...
07/02/2024 10:44 PM
Hi @rushikeshvartak ,
As mentioned above In approver page we have 2 type of comments as highlighted in below screenshot .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. This issue is not yet resolved