- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2020 04:49 AM
Hello,
Is there any way to get all RITMs and SCTASKs related to Request through API?
Lets say I only know what the REQ number is and I need to check its RITMs and SCATSKs. It is easy to get REQ number knowing RITM number, but it is hard to do in opposite way.
Solved! Go to Solution.
- Labels:
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2020 02:43 AM
Hi Tomasz,
You will have to make 2 API calls since information for that is in different tables
1) for RITM table - request.number=REQ001
2) for SCTASK table - request.number=REQ001
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
‎08-06-2020 01:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2020 02:19 AM
I am not sure whether you understood my question (or maybe I do not understand your advice).
I know how to get RITM and SCTASK details through API, but like I have described it in the question - I need to know how to get RITMs and SCTASK numbers if I only know request number related to them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2020 02:43 AM
Hi Tomasz,
You will have to make 2 API calls since information for that is in different tables
1) for RITM table - request.number=REQ001
2) for SCTASK table - request.number=REQ001
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
‎08-07-2020 03:38 AM
Oh, of course... I do not know why I did not figure it out, probably my brain stopped working for a while 😄
Thank you.