How can I get all RITMs and SCTASKs related to Request through API?

Tomasz15
Kilo Contributor

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.

1 ACCEPTED SOLUTION

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

5 REPLIES 5

No worries

You are welcome

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader