Copying across field values in a Template

Wayne Richmond
Tera Guru

I've created a Template that I assumed would copy across a field value from a referenced table using the simple ${u_order_number.number} method but simply inserts '${u_order_number.number}' rather than the value. Is there a way to get field values onto a record using a template?.

1 ACCEPTED SOLUTION

Julian Hoch
ServiceNow Employee
ServiceNow Employee

This is not possible. The values in your template have to be fixed. You cannot have logic, script or referenced values in the template.


View solution in original post

9 REPLIES 9

samiul1
Tera Expert

Also, i'm assuming, since your table is a custom one, your field name is also custom.


If so, check the field name if it's "u_number"; that is, ${u_order_number.u_number}


Julian Hoch
ServiceNow Employee
ServiceNow Employee

This is not possible. The values in your template have to be fixed. You cannot have logic, script or referenced values in the template.


Thanks for clarifying


Can I vote for such a feature to appear in SN in upcoming releases - please 🙂


Julian Hoch
ServiceNow Employee
ServiceNow Employee

Yes, of course you can. To do so, please go to the HI Service Portal, click on "Service Catalog", "Request Item" and then "Create a new Enhancement Request" and describe how you think it should work. The product team will take a look at your request and consider it for upcoming releases.



2017-05-22_14-11-23.png



Here is a short cut for you.