ATF Risk assessment step

Ashley45
Tera Contributor

i'm trying to fill out the risk assessment from a normal change. Once i click risk assessment it opens the form and the i tried using a 'set components values' step to set the response for each question but i get an error that it was unable to set the component and component not found

 

Error:

Ashley45_0-1721740780111.png

 

 

Test Step(s):

Ashley45_1-1721740856779.png

Ashley45_3-1721741075093.png

 

Assessment form:

Ashley45_2-1721741047627.png

 

 

1 ACCEPTED SOLUTION

brianlan25
Kilo Patron

You have to do this with a custom Server Side Test step.

https://www.servicenow.com/community/developer-articles/how-to-atf-server-side-script-step-for-chang...

This example is using the out of the box question so you will need to modify it slightly. 

View solution in original post

5 REPLIES 5

I just recently did this, and I had the same issue. You may probably have solved this issue but Im going to put what worked for me:

 

I suggest go through each glide record section and add a log statement to see if you're getting the right values. For the record ID, you have to grab the first ID that was created - think of it as the Open an existing record step.