- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 12:55 AM
Hi I am working on ATF, where I have Open a Record in List step, after that step I need sys_id of the record opened in Open a Record for run server side script.
I tried
var test = steps('sys_id').record_id;
stepResult.setOutputMessage(test);
Its showing output as
undefined
Please help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2022 02:35 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
I am stuck at ATF steps
I’m working on ATF test cases for a specific catalog item. Creating RITM backend using run server side script once RITM created in the steps, I use “Open an Existing Record” after creating the RITM.
In my PDI, this step opens the SC Task record directly after the RITM, which works correctly.
But in our project instance, the same step redirects the RITM to a Service Portal page instead of opening the SC Task form.
