how to get the RITM sys_id from req sys_id ? which table to look up from ?

chercm
Mega Sage

how to get the RITM sys_id from req sys_id ? which table to look up from ? 

the goal is to get the sctask number from req number 

1 ACCEPTED SOLUTION

Hi,

If you have Request Number then you can use it like below:

Screenshot 2023-12-26 at 5.19.16 PM.png

 

use sysparm_query :

request_item.request.number=REQ0000xxx

 

View solution in original post

12 REPLIES 12

Hi,

If you have Request Number then you can use it like below:

Screenshot 2023-12-26 at 5.19.16 PM.png

 

use sysparm_query :

request_item.request.number=REQ0000xxx

 

Shruti Khaire
Kilo Sage

Hello @chercm,

 

Can you tell me exactly what needs to be fetched so that I can guide accordingly.

Shruti Khaire
Kilo Sage

Hello @chercm,

 

So you want to fetch sc_task using API call?