Reputation: 1515
Assume I made mistakes in present DOORS session and saved them. I cannot change them back after saving. There is no 'Undo'.
Is there any way to restore the previous DOORS session?
Upvotes: 2
Views: 1702
Reputation: 101
I don't believe there is an easy way of restoring a specific session of DOORS, at least not using DOORS built-in functions. To do this, you will have to either roll back the changes manually or script something to automate the process via DXL. Though this assumes you have your module setup to generate all necessary history records you need for the roll back process.
Either manual or automatic would follow some sort of process that looks like this:
If you want to go the automated route by scripting something in DXL, you can look up the relevant methods with regards to processing History Records in the History sub-section (under the Module main section) of the DXL User Manual.
Of course this also assumes you haven't hard deleted anything from your module that needs to be rolled back, at which point the DOORS history entry will display "Read Locked Data". By hard delete I mean things like deleting attributes or purging objects. These operations will leave history records that effectively have no history information that can be accessed.
Upvotes: 2