not able to connect the sc_req_item to sc_task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2024 02:38 AM
I am not able to connect the sc_req_item to sc_task?
I did this way, by postman
1. I invoked sc_request API and got sys id
2. Passed the sys_id of sc_request response to sc_req_item API in "request" field
3. Passed the sys_id of sc_request response AND sys_id of sc_req_item response to sc_task API in "request" and "request_item" fields
In ServiceNow, request and request_item are linked. But sc_task in not linked.
Not sure, what mistake i did.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2024 08:22 AM
Hi @Siddharth30 ,
I think you don't need to associate request with sc_task, it will be automatically linked via requested item. What is the response you get when you try to associate sc_task with sc_request? Do you have any data policies for mandatory field that you may not consider in your update?
Regards, Ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2024 02:08 AM - edited 03-03-2024 02:12 AM
Hi @Siddharth30 ,
Make sure if The sys_id of the sc_request or sc_req_item is incorrect and you are using the correct sys_id. The sc_task API may not be correctly linking the request and request_item.
Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand