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

Business justification in rest jaon

NM
Honored Contributor II
Honored Contributor II

Hi Team,

We have a use case to pass business justification in rest connector. I have tried ${businessJustification} but it gives empty even though I have added the Business justification.

Could some please help out .. it is an urgent requirement.

Thanks

7 REPLIES 7

Raghu
All-Star
All-Star

@NM  try below

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

or

${arsTasks?.requestKey?.businessJustification}

or try all

${task.requestedBy.businessJustification}
${requestor.businessJustification}
${com.saviynt.ecm.identitywarehouse.domain.Users.get(task?.requestedBy).businessJustification}

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

NM
Honored Contributor II
Honored Contributor II

Hi @Raghu , none of this works?

any other variable?

@NM 

${arsTasks.requestAccessKey.comments}


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

Manu269
All-Star
All-Star

@NM check these post :

How to Retrieve Business Justification from ARS to... - Saviynt Forums - 42325

Solved: Passing ARS Form Comments in JSON - Saviynt Forums - 11769

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

NM
Honored Contributor II
Honored Contributor II

Hi @Raghu @Manu269 , even though i have populated values in Bussiness Justification , this variable isn't working giving empty file ${businessJustification}..

@NM  you can use as 'comments' instead of businessJustification,try and will see

${arsTasks.requestAccessKey.comments}

 

Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

Can you share screenshot which justification you are trying to push , one added by end user or approver?


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