How external tools can update sc_task (catalog tasks) via REST API?

Suggy
Giga Sage

We are using cart API to create Requests from external tool. Fulfilment will be done by external tool itself, and finally it should close the sc_task.

 

OOB cart API response will provide only REQ number details (RITM and SCTASK is not be there). How should the external tool be aware of RITM and SCTASK details?

 

Thnxx

 

 

1 ACCEPTED SOLUTION

Radhika Aluru
Tera Guru

They need to query RITM or Task table using Request sys_id(Request column in sc_task table) followed by any update calls to change the state value.

View solution in original post

2 REPLIES 2

RaghavSh
Kilo Patron

Once the Cart API is triggered, the request and RITM are automatically created, the task depends on the flow designer/workflow attached in the catalog item.

 

The external tool does not need to know RITM and task , if they are sending you the request and its status, you can write a logic at your end. for example, if they send you the request number and status as closed , you can write any server side script( maybe BR) to close the  sc task and ritm.

 

Please mark the answer correct/ helpful accordingly.


Raghav
MVP 2023

Radhika Aluru
Tera Guru

They need to query RITM or Task table using Request sys_id(Request column in sc_task table) followed by any update calls to change the state value.