How to Automate Standard Change Template creation through ATF

Jayesh1
Giga Contributor

How to Automate Standard Change Template creation through ATF?

 

I don't want a serverside script to create standard Change Template.

While entering Change Request values not able to find the field values in 'std_change_proposal' template

1 ACCEPTED SOLUTION

Hi Jayesh,

thanks for the update.

Please close the thread by marking appropriate reply as correct and helpful

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

18 REPLIES 18

Hi Jayesh,

I couldn't see that as variable during Set Variable values step; so cannot use Set Variable Values step for catalog

Variable Name: template_var_macro -> this is Macro with label

I would recommend this approach

1) don't set that value using set variable value step

2) allow Record producer to submit

3) open the record being submitted by RP in previous script by using open existing form step

4) then try using set field value to set the value as below

Change Request Values -> short_description=Testing^description=Hello

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

 

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

 

Stept 2:  allow Record producer to submit 

is possible because all fields are mandatory while requesting standard Template.  

Hmm

That macro is mandatory

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

So Other than server side script,i don't think there is any option

Hi Jayesh,

where would you use server side script? it is record producer and you won't know the sys_id of it I believe when script runs in ATF

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader