- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2018 05:41 AM
Hi,
I have a template field on the Service Portal which is accepting ticket information along with template name as a record producer.
I am using current.appyTemplate(<template name>) in the script section of the record producer, but its not populating all the fields specified in the template.
Any help on this?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2018 05:43 AM
Hi,
Can you show your exact script? If possible?
It needs to be structured like in this link (exactly): https://docs.servicenow.com/bundle/jakarta-platform-administration/page/administer/form-administrati...
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2018 05:43 AM
Hi,
Can you show your exact script? If possible?
It needs to be structured like in this link (exactly): https://docs.servicenow.com/bundle/jakarta-platform-administration/page/administer/form-administrati...
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2019 10:44 AM
Did this actually work? I am using a record producer to create my record and templates are not able to be applied when the template field changes. i think that's what the real question was, how to make the template apply like it does on the backend in Servicenow.