Revision Rollback

<< Click to Display Table of Contents >>

Navigation:  Revisions > Lifecycle of a Document >

Revision Rollback

Revision rollback / Restoring previous revisions

When creating a new revision of a document, it is possible to indicate a previous revision number, in which case MechworksPDM asks if you want to collapse the actual revision number to the one indicated. Answering YES will delete every intermediate revision.

Be very careful in using this function: it should be used only by an administrator to align revisions of linked documents before starting using the Link Mode

 

Please note that rollbacking is different from deleting an old revision.

To remove an old revision simply:

open for updating the browser

click RMB→Edit/Revision... on a record

press Revisions button

select revision(s) to delete

press Delete button

Example

Suppose you are currently in revision 5 and you find out that some mistakes have been done.
A rollback to revision 3 is required.
So you want to delete revision 4 and 5, returning to revision 3 as last valid one.
Let see step by step the procedure:

1.Make sure the option

Revision→Files→Restore revision in a different directory

is unchecked (this because we want to overwrite an existing revision file.

Please note that if you're acting on an assembly you will overwrite components file too

Because this is a global option (valid for every case) we suggest to enable its sub-option

 

Always ask the modality on the ACTIVATE of an older revision

 

that allows to decide separately, case by case.

2.Select the part to rollback

images_rollback00

3.Click the button images_Buttons_RestoreRevision Restore a previous revision for the node and all the children

4.A dialog shows the available revision. Choose revision 3 and click OK.

images_rollback01

5.Now the revision 3 has been restored.

images_rollback02
Please note the revision label 5[3]: 5 is the last revsion approved, while 3 is the active revision. Every component modification affects revision 3 file (the preview image is up to date with active revision).

At this point you still have revision 4 and 5.

6.As final step, we've to make the active revision becoming the last revision.
Click Edit / Revision ... → RevisionsCreate a new revision
Then enter 3 in the dialog

images_rollback03

7.A final dialog warns you that you're going to perform a roll-back operation

images_rollback04

8.Finally the Active revision has been collapsed to the last revision

images_rollback05
 

At this point you haven't revision 4 and 5 anymore.

Remarks on activating a part component revision

To rollback a part component, you can use th RMB menu available from the Previous revisions grid in the TreePage.

images_rollback06

 
In the menu you can choose between:

Activate: same as RMB on a part in the tree → Edit / Revision... → Revision→ select a revision→Activate

Activate and create new revision: to create a new revision starting from the selected one (eg. for creating rev 6 starting from rev 2)

Remarks on activating an assembly component revision

Please consider that when activating a previous revision for an assembly, all its components are taken back too, to revision they had in that specific assembly revision.

Example

Suppose you have this structure for assembly A1 in revision 1:

images_rollback07

 
Suppose now you have this structure for assembly A1 in revision 2:
(please note component c3 has been added)

images_rollback08

 
from A1 revision 2 you restore revision 1

images_rollback09

 
Let's see what has happened:

components c1 has been taken back to revision 4

compoent c2 has been left in revision 5

component c3 has been removed from the assembly because it has been added only in assembly revision 2

DBWARM right to control rollback ability

You can control the permission on performing a roolback through DBWArm Editor's Revisions page.
The option is for denying the "rollback revision" action when using the Create New Revision button from the Edit/Revision form and selecting an already existing revision from the REVISION combo box.

images_rollbackRev01 images_rollbackRev02