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

Attaching file in Access Approval Email Notification

Shreya47
New Contributor III
New Contributor III

Hi Team,

We want to add the Comment and the attachment provided during submitting any request to the Access Approval email notification.

In the Email template we are configuring ${request.comments} which is pulling the Comment along with the timestamp and the requester details. Is there any way we can ignore the timestamp and the requester details.

Also, please let us know if there is any way to attach the file provided by the requester in the Email Notification.

Shreya47_0-1703686843640.png

 

8 REPLIES 8

rushikeshvartak
All-Star
All-Star

Share current sample response


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

Hi Rushikesh,

Please find the below screenshot

MicrosoftTeams-image.png

1- HTML Format bringing an extra non needed value from the {request. Comment}BOX

2- Need to add the attachment from the {request.comment}

Can you try below?

SUBSTRING_INDEX($request.comments, ']', -1)

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Please use below

${requests.comments.substring(requests.comments.indexOf("]")+ 1)}


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

Shreya47
New Contributor III
New Contributor III

Hi @rushikeshvartak,

Thank you for the update, we tested this script is working. Could you please also confirm if there is any way to attach the file provided by the requester during request submission in the same Approval Email Notification.

You can’t send attachements in email.

please accept the solutions 


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

Shreya47
New Contributor III
New Contributor III

Hi @rushikeshvartak,

Could you please also confirm if we can add clickable link in comments as well?

you can use html a tag to make link clickable


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