ATF - submit form step just hangs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 03:03 PM
Hi there,
I am trying to configure an ATF test to open, fill out, and submit a Service Portal form - but I am running into issues with the last step (submitting the form). When I perform these steps manually, it works perfectly fine, but in the ATF test it hangs after clicking 'Submit' and eventually times out.
Under the ATF test results I just see this error message: The test timed out because the max execution time (600 seconds) was reached. Please refer to the attached files for more details.
Would really appreciate some help on this, thank you in advance!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2025 07:11 AM
The outputs from the Submit Record Producer step returns the table and record id for the created record. You can then use those values in a 'Record Query'. Table being the table value from the previous step, and a query of "sys_id=" <record_id>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 08:02 PM
it's a catalog item so why are you using set field values?
You should use Set Variable Values (SP) and then use "Order a catalog Item (SP)" step or "Submit Record Producer (SP)" step
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2025 06:58 PM
Thank you for your help Ankur, I have changed the test steps to the ones you've suggested and it appears to be working now!
I just have another follow up question that I've posted in my reply to Kieran - would you happen to know how I can achieve that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2025 06:59 PM
Glad to know that my approach worked.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2025 07:00 PM
after submitting you can use Record Query and get the output from previous step and see if it is present.
Give some timeout of 10 seconds as it might take some time to submit the form
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader