
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2022 11:34 AM
I am trying to do a simple API call to update an approval record on the sysapproval_approver table. Using API Explorer, I have
PUT https://*******.service-now.com/api/now/table/sysapproval_approver/8f0cc504873ecd109d87ba6f8bbb3575?sysparm_fields=state&sysparm_input_display_value=approved
It is returning a 200 OK Status, but the response is:
{
"result": {
"state": "requested"
}
}
What am I missing? Why can I not update the state via API?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2022 01:52 PM
If it's field level WRITE ACL, you can use debug security rules to find out why this ACL is not allowing REST API updates.
You can give required roles.
Also, check if state column is not read only at dictionary level. You won't be to update field which is read only at dictionary level.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 07:18 AM
Not sure if it will help anyone but, even in my PDI, I could not get the state field to update via API until the API user had the approval_admin role. Once I did that it updated the state field just fine.
I believe this is governed by the ACL named sysapproval_approver.state.