Not able to get record clickable link on email template for message text field for invitation

Madala Chaitany
Giga Guru

Hi all,

 

I've created an email invitation using an email template with the message text field. Below is the script. Using ${URI_REF}, not getting a clickable link and description from the change record. Find below screenshots.

 

Message Text

BEGIN:VCALENDAR 
PRODID:-//Service-now.com//Outlook 11.0 MIMEDIR//EN 
VERSION:2.0 
METHOD:REQUEST 
BEGIN:VEVENT 
ORGANIZER;CN=${from_user.name}:MAILTO:${from_user.email} 
ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:${to} 
ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:${from_user.email}
LOCATION:${location} 
DTSTART:${dtstart} 
DTEND:${dtend} 
UID:${sys_id} 
SEQUENCE:${sys_mod_count} 
DTSTAMP:${dtstamp} 
DESCRIPTION:You are invited to a meeting regarding Change Request: ${number}, for the following dates ${start_date} to ${end_date}. \nDetails:\n\n${short_description}\n\n${crdescription}\n\nLink to Change Request: ${URI_REF}
SUMMARY:${number} - ${short_description} 
BEGIN:VALARM 
ACTION:DISPLAY 
DESCRIPTION:Reminder 
END:VALARM 
END:VEVENT 
END:VCALENDAR 

 

 

Screenshots

MadalaChaitany_0-1749555086250.png

 

MadalaChaitany_0-1749554912697.png

 

Thanks in Advance

Chaitanya Madala


 

4 REPLIES 4

palanikumar
Mega Sage

Use ${URI_REF} instead of ${number}.

Refer this link for more details

 

https://www.servicenow.com/docs/bundle/yokohama-platform-administration/page/administer/notification...

Thank you,
Palani

Hi @palanikumar,

 

If it's a Message HTML ${URI_REF} will work, but here I'm adding in a message text field, and in the description, it's not showing.

Ankur Bawiskar
Tera Patron
Tera Patron

@Madala Chaitany 

any reason you are using message text and not message html?

The field itself says it's a text type and hence won't show link.

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

Hi @Ankur Bawiskar ,

 

Servicenow has suggested using the message text, as we're sending a calendar invite

https://www.servicenow.com/docs/bundle/yokohama-platform-administration/page/administer/notification...

Regards,

Chaitanya