How to update the state of a Knowledge Article using REST API (without Scripted REST API)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 01:00 AM
Hi Community,
I'm trying to update the state of a Knowledge Article using the out-of-the-box REST API in ServiceNow — specifically via the PATCH/PUT method on the kb_knowledge table. While the request executes without error, the state field is not getting updated.
Upon checking, I found that the state field is marked as read-only in the system.
Here are my specific questions:
Is it possible to update read-only fields like state using the standard Table API?
Can we trigger a UI Action (such as “Publish" to move stat for Review”) directly through the REST API?
If not, what is the recommended approach to programmatically move a Knowledge Article to the "Review" state using REST API?
How can we accomplish this without using a Scripted REST API? I’m looking for solutions using only the out-of-the-box capabilities like Table API, Import Set API, or others.
If anyone has done this before or knows a reliable method, I’d really appreciate your insights or examples.
Thanks in advance!