RITM reference \${URL_REF} in task notificaiton

Hitesh targe
Tera Expert

Hello Experts,

I have a notification which triggers on sc_task. in the notification, i have to include RITM reference url(End user don't have access to task and he has only RITM). when end user clicks on ${URL_Ref}, it should open RITM.

can anyone suggest please.

Thanks in advance.

Best Regards,

Prasad

1 ACCEPTED SOLUTION
7 REPLIES 7

Chuck Tomasi
Tera Patron

Hi,



You can do this with the following



{$request_item.URI_REF}



See section 3.2 here.


Scripting for Email Notifications - ServiceNow Wiki


Tim Deniston
Mega Sage
Mega Sage

Use ${request_item.URI_REF}



Embedded:Specifying a URI Field - ServiceNow Wiki section 1.2


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Prasa,



Please check section 8.2 linking to related records for more info.


http://wiki.servicenow.com/index.php?title=Email_Notifications#gsc.tab=0


jamesjurden
Giga Guru

Possibly dot-walk in the uri_ref such as ${task.URI_REF}


OR


Change the notification to execute on the RIT Table.


OR even better


Have the notification trigger on an Event, and have a business rule call it via gs.eventQueue('....



A notification can link to a related record by specifying a reference field in front of the ${URI} or ${URI_REF} parameters. Format the related record link as follows:


  • ${<reference field that contains the related record you want to display>.URI}
  • ${<reference field that contains the related record you want to display>.URI_REF}