Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

ATF - Change Management - g_form is not defined - Create new normal change from platform

Kiruthika J
Tera Contributor

Hi All,

I'm writting ATF to create normal change from platform where I wrote click 'create new' module under change and click normal change card then continue and validate the field values but even I validate or set values it is throwing below error.
FAILURE: Unable to run field values validation, g_form is not defined. A valid form must be open before validating values.
But the new normal change form is open and I able to see the form in test runner still it's saying valid form is not open.
I wrote the ATF in global application as well.

Thank you!

KiruthikaJ_0-1787202591017.png

KiruthikaJ_1-1787202678543.png

 

 

 

9 REPLIES 9

is your instance in australia?

Thank you!

Please try in Australia release. It's not working there only.

@Kiruthika J  - Let me try this Australia and update here!

 

I see similar issue reported here - https://www.servicenow.com/community/common-service-data-model-forum/atf-create-new-change-australia...

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026

Hi @Kiruthika J  - Yes, issue persist in Australia version, its not considering Form being opened when we click Continue.

 

Please open a case with ServiceNow, as a workaround you can skip the interceptor route and take direct record creation.

 

HemanthM_0-1787229995448.png

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026

Ankur Bawiskar
Tera Patron

@Kiruthika J 

you are trying to create from Native?

is it working with non-admin in native?

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