- 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-10-2021 11:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2021 11:59 AM
Thanks, Pavlo,
Yes I'm using out-of-the-box change state values, but unfortunately it doesn't work even with numbers...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2021 06:21 AM
Can you try to test via the different namespace and method? I was able to update the Change Request using the following:
PUT https://{instance_name}.service-now.com/api/now/table/change_request/{change_request_sys_id}
{"state":"-3","work_notes":"Updating"}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2021 03:08 AM