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:34 AM
Hi @pawank2
In ATF, you can test a variable only when it is available in the catalog item.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2025 02:37 AM
Hi Atul,
We have variable in catalog item but it is visible on sc_task record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2025 02:38 AM
Are you getting the error at the task level or at the item level?
And are you testing the variable at the item level?
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2025 02:41 AM
HI Atul,
I have created a step - set variable value after open the existing record(sc_task).
I am getting this error.
