ATF FAILURE: g_form is not defined. A valid form must have g_form defined
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2019 08:04 AM
I have been trying to create an automated test covering a user logging an incident in the portal using the Ask for help record producer. I can open a new form and log the incident successfully. However, when I try to reopen the form for the user to add comments, the test opens the correct form (the screen dump show this) but it errors on that step and is generating the above error.
I saw in another thread that someone suggested this error message might be because the widget was deprecated, but that isn't the case with this one. We are using the most recent version. I have simplified the test down to the basic steps:
It is the final Open a Form (SP) that is failing:
The step details are:
Is the error being generated because there are no query parameters? If so, what parameters would be needed? The screen dump shows it is opening the correct form with the correct incident:
Any ideas please?
Regards,
Anne.
- 6,982 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2020 11:01 AM
Hi guys,
Please review the KB article - https://hi.service-now.com/kb_view.do?sysparm_article=KB0716457.
Looks like it is a known issue and can be resolved using the OOB widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2021 01:12 AM
Hi
please provide the steps if yes
Regards,
Rajashekar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2021 10:19 AM
I am having the same issue, anyone found a solution?
Thanks,
Afnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2022 05:13 AM
I having the same issue when using page = ticket. I don't have the issue if I use page = form.
So it is somehow related to the pages and with some pages it's causing this Failure. At least I can use the 'form' as workaround. But wondering why SN is not able to fix this for more then 3 years.