Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Trying to display UR number in an email client template on Catalog Task table

gramalingam
Tera Contributor

Hi All

I am trying to create a email client template which shows up on all catalog_tasks under certain conditions, everything works except I am not able to display the Universal request number instead of the sctask number, I tried ${parent.parent.number} field but returns a empty value, also tried ${universal_request.number}, i received the same empty value, if I use ${number} it shows the Sctask number. How can I access the UR number? I tried the same in Requested Item table, and i was able to show the Universal request number there.

2024-10-01_10-56-02.png

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hey @gramalingam 

 

I think you need to dot walk through the universal_request field to get the UR number. so for example:

current.universal_request.number

 

If you need this to be dynamic, then you probably need an Email Script where you check if universal_request is empty. If it is, then just use current.number.

 

Hope this helps!

~Nick

View solution in original post

1 REPLY 1

Community Alums
Not applicable

Hey @gramalingam 

 

I think you need to dot walk through the universal_request field to get the UR number. so for example:

current.universal_request.number

 

If you need this to be dynamic, then you probably need an Email Script where you check if universal_request is empty. If it is, then just use current.number.

 

Hope this helps!

~Nick