ATF Error while opening sc_task record

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 09:10 AM
Hi,
I am working on an ATF Test Case and it is failing while I am trying to open a sc_task record. Kindly help.
Regards
Suman P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 09:32 AM
Have you tried creating a breakpoint before step 50 and making sure that there is a sc_task associated with that RITM?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 09:34 AM
As mentioned by Alex make sure the sc_task actually exists. Have you tried increasing the timeout for the record query? It's possible the workflow is taking a couple seconds to generate the sc_task and the query fails before it generates.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 11:22 AM
Thank you @Alex Rose and @Elijah Aromola ,
I realize my mistake. Actually there is an approval to be approved first, and goes to the task level.
Regards
Suman P.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 06:09 AM
Glad you got it sorted. Please mark this thread as resolved.