- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2021 10:38 AM
Hello,
I'm trying to modify the state of change management task via the following call
Request: PATCH call on /sn_chg_rest/change/<requestID>/task/<TaskID>
Body: {"work_notes":"updating", "state":"In Progress"}
The call is successful, new work notes are added to the task, but the state remains open.
I also tried with "state":"in progress", "state":2.0. Nothing works...
Thanks and Best Regards,
Philip
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2021 03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2021 08:10 AM
Thanks for the hint ,Pavlo,
I manage to change the state via:
PUT
https://{instance_name}.service-now.com/api/now/table/task/{task_sys_id}
{"state":"2","work_notes":"Updating to in progress"}