Can we able to edit previous version of workflow

GPavanKumK
Tera Contributor

Hi 

 

Can we able to edit the previous version of workflow i'm not able to click the checkout button in Hamburg menu ,due to dev instance clone my current changes are there in that version now I want to make that workflow as current version.

 

4 REPLIES 4

pr8172510
Tera Guru

Hi @GPavanKumK,

No, you cannot directly edit a previous workflow version. In ServiceNow Workflow Editor, only the current checked-out version can be modified.

If a clone reverted your workflow and your changes exist in an older version:

  • Open the workflow record.
  • Navigate to Versions related list.
  • Identify the version containing your changes.
  • Use Set as Current Version (if available) or create a new version based on that version.
  • Check out the current version and continue editing.

If the Checkout option is disabled, verify:

  • The workflow is already checked out by another user.
  • The workflow version is not the current version.
  • Your role includes workflow_admin or appropriate workflow permissions.

abirakundu23
Giga Sage

Hi @GPavanKumK ,

You can revert the workflow to the previous version, go to -> sys_update_version.LIST
Select your item  with the "sys_id" and revert to the previous version, attached screenshot as your reference.

abirakundu23_0-1781163387645.png


Please mark helpful and correct answer if it's worthy for you.



Ankur Bawiskar
Tera Patron

@GPavanKumK 

this link has solution from @Kalaiarasan Pus 

Unlearn Series - Reverting Workflow Version 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Tanushree Maiti
Tera Patron

Hi @GPavanKumK 

 

Current and previous workflow version gets stored in wf_workflow_version table.

 

In ServiceNow, you can edit a previous version of a workflow. Since an active or published workflow cannot be modified directly, you must first revert to or check out the desired previous version.

This action automatically creates a new editable version based on that earlier version, allowing you to make the necessary changes.

 

  • In your ServiceNow filter navigator, type wf_workflow.list to open the Workflow table.
  • Scroll down to the Workflow Versions (or Versions) related list.
  • Locate the exact prior version you want to modify in the related list.
  • Right-click the version row and select Revert to this Version.
  • Click OK on the confirmation dialog
  • Then Checkout ->Publish
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti