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

Business justification in rest jaon

NM
Valued Contributor
Valued Contributor

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
Honored Contributor
Honored Contributor

@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
Valued Contributor
Valued Contributor

Hi @Raghu , none of this works?

any other variable?

Raghu
Honored Contributor
Honored Contributor

@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
Valued Contributor
Valued Contributor

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

Raghu
Honored Contributor
Honored Contributor

@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 you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.