- 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-27-2024 02:02 AM
Glad it helped. 🙂
Kindly mark helpful, it is my personal growth.
Regard
Shql
***********************************************************************************************************************
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