How to bulk update KB article valid to dates to specific dates

Khalnayak
Tera Guru

HI there,

I have been tasked to update the valid to date of over 1000 KBs.

I have a spreadsheet containing the columns of current valid to date and new valid to date.

What script do I need to run to update each KB with it's unique new valid to date.

As each KB will have different valid to date,  I can't simply set the same date for all of them.

Please help.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Usmaan,

Please create data source and transform map for this on knowledge table

Map the new valid to date from excel to the target field of Valid to date.

Create a transform map

Data sources

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Usmaan,

Please create data source and transform map for this on knowledge table

Map the new valid to date from excel to the target field of Valid to date.

Create a transform map

Data sources

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi Usmaan,

please use the script of the solution below:

https://community.servicenow.com/community?id=community_question&sys_id=bff387e5dbd8dbc01dcaf3231f96...

If I have answered your question, please mark my response as correct and/or helpful.

Thank you very much

Cheers
Alberto

Hi Alberto, the script in the link is not the solution to my problem.

I came across that link before and it was not suitable for me.

thank you though.

Hi Usmaan,

please use the data source and transform map approach.

Links for help are already shared above

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader