Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Interceptor Answer - Apply template

Michelle89
Tera Contributor

Hello,

I am trying to figure out how to auto-populate fields when a new Emergency change is selected for creation. (Change > Create New )
find_real_file.png

 

When I configure the Interceptor answer, I would like to use the Target URL however the fields contain too much text that maybe applying a Template is the way to go. I tried to use the scripts found here, but it didn't seem to work when I added it to the script section. (See below)

find_real_file.png

Does anyone have any ideas to try?

 

1 ACCEPTED SOLUTION

Not applicable

Hi Michelle,

 

You can template through URL as well. In the target URL add the template name as below-

 

Example: 

change_request.do?sys_id=-1&sysparm_query=type=changetype&sysparm_template=nameOfYourTemplate

 

find_real_file.png

 

When you create a change from the interceptor the template values will auto-populate on the change form.

View solution in original post

2 REPLIES 2

Not applicable

Hi Michelle,

 

You can template through URL as well. In the target URL add the template name as below-

 

Example: 

change_request.do?sys_id=-1&sysparm_query=type=changetype&sysparm_template=nameOfYourTemplate

 

find_real_file.png

 

When you create a change from the interceptor the template values will auto-populate on the change form.

Thank you! This is exactly what I needed.