The CreatorCon Call for Content is officially open! Get started here.

Previous Versions of KB articles got updated via trasnform map

NagaMounika
Tera Contributor

We had a requiremnt for updating arount 2000 KB artciles approver and Valid to date we have created a transform map and set the number field as colease and run the transform map but for records the older versions got updated we want to revert those articles to previous version and update the latest and max version of the article

1 REPLY 1

Connectmustaq
Tera Expert

Hi @NagaMounika ,

 

To address the issue of accidentally updating older versions of KB articles during your transform map run and wanting to revert those articles back to their previous versions, while ensuring that only the latest and max versions of articles are updated in ServiceNow,
  • Knowledge articles in ServiceNow follow versioning. Each update typically creates a new version of the article.
  • Older versions remain available for rollback or review.
  • The transform map updating older versions indicates it may be applying changes directly to past versions rather than the latest published version.

Suggested Steps to Revert and Correct Article Versions

  • Revert Older Articles to Previous State
  • Ensure Transform Map Targets Only Latest Versions
  • Use Script in Transform Map to Find Latest Record Example
  • Post-Transform Validation
  • Create New Versions if Needed

Additional Recommendations

  • Backup your KB articles or test the transform on a sub-set of records first.
  • Use knowledge management’s built-in version control features for audit and rollback.
  • When transforming large datasets, use batch processing and logging to track errors or unexpected updates.
If it is helpful, please hit the thumbs button and accept the correct solution by referring to this solution in the future it will be helpful to them.
 
Thanks & Regards,
Mohammed Mustaq Shaik