How to restore the knowledge articles from one instance to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Everyone
Need your help on one of my requirement to get the knowledge articles from one instance and create or update it on another instance through schedule job. We have to get the data ( publish , retired ) from one instance and create or update it on another instance with out any information or mail to trigger the user.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @msc
you can use REST API in instance B to get KB article from instance A.
Also there is a OOB knowledge scripted rest api , you can use get method for your requirement.
https://<Your instancence name>/sys_ws_definition.do?sys_id=8ad394c8db03220099f93691f0b8f584&sysparm_view=&sysparm_record_target=sys_ws_definition&sysparm_record_row=1&sysparm_record_list=nameSTARTSWITHknowledge%5EORDERBYname&sysparm_record_rows=1
If you want to created scripted rest api for your requirement. you will get guide from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
53m ago
But why is this required?
are you doing this between 2 different ServiceNow instances i.e. between 2 different companies?
You will have to use custom scripted REST API to handle this.
also check this
How to create knowledge article in ServiceNow with article state as Publish?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
