Need help on ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2025 02:32 AM
We have one variable , it is not visible in portal. while submit the request , ritm and sc_task is generated.
when i open the sc_task record, variable is visible and it is mandatoy.
so how can i achieve in ATF, I have used set variable value but it is not working as expected. I am getting error -
g_form is not defined.
I have created this step after open the existing record.
Regards
Pawan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2025 02:40 AM
please share the steps you created and the error you received.
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
08-19-2025 02:43 AM
Hi Ankur,
I have created 29 no. step before click on assign to me. variable is mandatory when i opened the sc_task.
i am getting error - unable to set values. screenshot attached below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2025 02:52 AM
when you are testing manually that variable is visible?
Also when Step 26 runs does that step screenshot show that variable is visible on sc_task?
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
08-19-2025 02:54 AM
Hi Ankur,
while manual testing , variable is visible.
step 26 - variable is also visible when task form is opened.