Apply template to Record Producer

maryc
Tera Contributor

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?

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

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!

View solution in original post

2 REPLIES 2

Allen Andreas
Administrator
Administrator

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!

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.