Using ${URI_REF} For a Parent Record

User398360
Kilo Contributor

I'm creating a notification on the sn_customerservice_task table that triggers when a task on a case is assigned to a particular set of individuals.

In the notification, I want a clickable reference to the task number, but also a clickable link to the original case number.

I am able to use ${URI_REF} and the task number is correctly linked.

However, when I try to use URI_REF for the parent case number, the link is not available and shows blank in the notification preview.

This is what I'm attempting:

Original Case Number: ${parent.number.URI_REF}

 

6 REPLIES 6

sachin_namjoshi
Kilo Patron
Kilo Patron

you will use to use email script to print parent reference and then use email script in your email notification.

 

Regards,

Sachin

Prateek kumar
Mega Sage

Try this:

${parent.URI_REF}


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Thanks! The link works and takes me to the original case, but instead of the case number, the link says "Not Yet Requested".

This could be because of the display field configured on parent table.

Navigate to parent table and see the dictionary fields on the parent table. Set your table display value as Number

https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/field-administrat...

 

Please mark my response as correct answer and helpful if it helped solved your question.
-Best Regards
Prateek kumar


Please mark my response as correct and helpful if it helped solved your question.
-Thanks