- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 06:35 AM
Hello Everyone!
I am currently working on an implementation of ATF using the Incident Management application. I am attempting to create an ATF test from scratch, which involves creating a new Incident record and setting field values. There are certain reference fields that I am setting on the Incident record, which reference the [task], [kb_knowledge], and [problem] tables. When running through this test, I am getting the following error: Cannot read properties of undefined (reading 'message').
In order to fix this issue, I did some digging and found this ServiceNow Community post, which provides a workaround. I utilized the workaround from this post , but it did not get rid of the error. Does anyone have any suggestions on how to implement this and remove this error?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2024 03:29 AM
Okay..after record query you need to open that record by using Open existing record and then set the feilds.
you are using incorrect steps.
Just like this one.
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 06:50 AM
If possible could you please attach the steps you are using and the failed result screenshots.
Regards
Shqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 07:13 AM
Hi Shaqeel,
Here is a screenshot of the steps that I am doing to query and set the field values:
Here are the error screenshots that were captured by ATF:
Please let me know if there is any additional information that I can provide. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2024 03:29 AM
Okay..after record query you need to open that record by using Open existing record and then set the feilds.
you are using incorrect steps.
Just like this one.
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2024 06:30 AM
Hi Shaqeel,
Thank you so much! This ended up fixing my issue! I really appreciate your help.