How to export all the knowledge articles from one instance to other instance (completely different).

Ashutosh44
Tera Contributor

Hi all!!

What would be the best way to export all the knowledge articles from 1 instance to other.

Other means it will be a completely different instance.

There are huge number of Articles, around 20k.

All the following things that are usually referenced in articles may not be present in other instance:

1) Knowledge Base

2) Categories

3) Authors

4) Approvals ( or anything present in the Related list of the articles)

 

I am not able to understand the use case behind this requirement but this is what the client wants.

Exporting articles as XML is not ideal here because along with that we need to export all the dependencies as well.

Transform map can be implemented but I am not sure about how we can implement this with it and how the attachments will get copied.

 

Any suggestions/ implementation steps/ workaround for this would be really appreciated.

Thanks all. 

9 REPLIES 9

Hi Ashutosh,

when you Say another Instance is it third party Instance? if so you may need to do integrate 

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar

Hi @shyamkumar VK 
Yes it would be a third party but its also ServiceNow Instance. 
Can you help me with what kind of Integration we can establish in order to achieve this?

if its between ServiceNow Instance , try to follow this process it would be easies process

You can actually just export the articles to XML and then import them into the new instance with "Import XML".   Any attachments will be included.



Depending on the number of articles, you can filter them down by some criteria and export the list of articles in chunks.



That will include the original KB numbers and created by and created dates, 



shyam10_0-1672132067059.png

 

 

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar

Hi Shyam,

I know these things already,
But as I have already mentioned that we are transferring the articles between to different organisation's SN Instances, the target instance will not be having related records like KB, Category, User criteria, Owners, Managers, Authors etc. How to handle that?

Then i that case get the export in excel format and in the other instance create a transform map.

The transform map scripts will have to handle the missing categories , owners or managers.

for example:

 

if(source.category=='email')

{

target.category = 'outlook';

}

This approach also works if the articles have to be transferred from non servicenow instance to servicenow instance.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023