\${URI_REF} in email notification

swarnargha
Kilo Contributor

when I am raising one request in self service portal i enter ${URI_REF} in one of the variable field named additional comments.

I enter as "request   ${URI_REF} has been submitted". Once the request has been submitted, it went for approval and the email body contains the request number instead of ${URI_REF}.

which means the email body contains RITM097654 has been submitted instead of ${URI_REF} has been submitted.

Kindly let me know how it came?

5 REPLIES 5

Bharath40
Giga Guru

Hi,



Adding ${URI} parameter in email body takes you to particular or specific record in ServiceNow. Refer to this 1.2 section Embedded:Specifying a URI Field - ServiceNow Wiki


But when I am using ${URI_REF} in the servicenow ticket it is taking the whole text. it is not pointing to any record.


I enter as "request   ${URI_REF} has been submitted". Once the request has been submitted, it went for approval and the email body contains the request number instead of ${URI_REF}


which means the email body contains RITM097654 has been submitted instead of ${URI_REF} has been submitted. ---> This is intended behavior.



Can you please elaborate what issue are you facing, screenshots are appreciated.  


Hi Swarna,



I think, you are using content type of you notification as "Plain text'.



Please change it to HTML and plain text and use ${URI_REF} or ${URI} in Message HTML Field.



let know once you tried that.



Thanks,


Rasith.