How to move KB articles from one instance to other instance through script with attachments?

vl92
Kilo Contributor

Hi All,

Can any one please help me on the below task.

How to move KB articles from one instance to other instance through script with attachments?

Is it possible, any one know please guide me on that.

Thanks in advance.

19 REPLIES 19

I have done integration I implemented GET method to retrieve the details of kb article how can I store the response body into import set table?

@Ramakrishna Rao  In the script where you are calling the GET method, parse the API response and insert the parsed records into import set table using the GlideRecord API using initialize method. Refer to this link for more details on GlideRecord API.

 

Refer to below links for parsing REST API JSON response.

Parsing Data from the Response | ServiceNow Developers

JSON | ServiceNow Developers

How to parse response body - ServiceNow Community

 

Hit "Correct", "Helpful" or "Like" depending on the impact of the response.
Regards,
Kamal S

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,



Please check Force to update UI Action.



Thank you,
Ashutosh Munot


HI,



You can use this code and Take all relation such as images as well as any related records into your update set.



Thank you,


Ashutosh Munot


Hi Ashtosh, where are you setting this value  Force to update UI Action?  The script doesnt work currently at all and I cannot find any setting  Force to update UI Action?

Thanks