RITM Variables on Approval Page

Burhan Shah
Tera Contributor

Hello Everyone,

 

Just wanted to ask, can we add RITM variables here on the approval form itself? Instead of clicking on the information popup?

 

BurhanShah_0-1747224853804.png

 

11 REPLIES 11

Same.

BurhanShah_0-1747233929440.png

 

@Burhan Shah 

your email body doesn't look like what I shared.

I simply picked the email template body and use that in Message HTML Field

1) click on "Switch to Rich HTML Editor" in bottom and then you will see "Message HTML" field

AnkurBawiskar_0-1747234472452.png

 

2) then add this source code, then it will look like mine, then test it

<div>Short Description: ${sysapproval.short_description}</div>
<div>Priority: ${sysapproval.priority}</div>
<div>Category: ${sysapproval.category}</div>
<div>&nbsp;</div>
<div>
<div><hr></div>
</div>
<div>${mail_script:change_request_summary}</div>
<div>&nbsp;</div>
<div>Comments:</div>
<div>${sysapproval.description}</div>
<div>
<div><hr></div>
</div>
<div>${mailto:mailto.approval}</div>
<div>
<div><hr></div>
</div>
<div>${mailto:mailto.rejection}</div>
<div>
<div><hr></div>
</div>
<div>Approval Activity:</div>
<div>${mail_script:approval_activity}</div>
<div>
<div><hr></div>
</div>
<div>Click here to view Approval Request: <a href="/sp?id=approval&amp;table=sysapproval_approver&amp;sys_id=${sys_id}">Approval record</a></div>
<div>Click here to view ${sysapproval.sys_class_name}: ${sysapproval.URI}</div>

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader