RITM link on approval notification

Appy2
Tera Contributor

Hi Team,

I have created one notification which is on approval table,can you please guide me how can i give RITM link to this notification as this notification is on approval table.

Thanks,

1 ACCEPTED SOLUTION

Anand Kumar P
Giga Patron
Giga Patron

Hi @Appy2 ,

You can create a mail script and use below script.

if(current.sysapproval.sys_class_name=='sc_req_item')
	{
template.print('<a href="https://' + gs.getProperty('instance_name') + '.service-now.com/nav_to.do?uri=sc_req_item.do?sys_id=' + current.sysapproval.sys_id + ' ">'  + current.sysapproval.number + '</a>');
	}

And use mail script in notification body like-${mail_script:yourmailscriptname}

Please mark it as helpful and solution proposed if its serves your purpose.

Thanks,

Anand

View solution in original post

2 REPLIES 2

Community Alums
Not applicable

Anand Kumar P
Giga Patron
Giga Patron

Hi @Appy2 ,

You can create a mail script and use below script.

if(current.sysapproval.sys_class_name=='sc_req_item')
	{
template.print('<a href="https://' + gs.getProperty('instance_name') + '.service-now.com/nav_to.do?uri=sc_req_item.do?sys_id=' + current.sysapproval.sys_id + ' ">'  + current.sysapproval.number + '</a>');
	}

And use mail script in notification body like-${mail_script:yourmailscriptname}

Please mark it as helpful and solution proposed if its serves your purpose.

Thanks,

Anand