Undoing or Redoing Command Actions

In the model editor, you can use the Undo and Redo commands with certain restrictions in order to undo accidental changes or redo undone changes.

The Basics

The undoing of a command action allows you to quickly correct commands that you executed accidentally or that did not bring about the anticipated result.

The Undo (Ctrl+Z) and Redo (Ctrl+Y) commands are accessible via the shortcuts and via the quick access toolbar.

The Undo (Ctrl+Z) command's button is a menu which lists the last used commands. When a menu item is selected, then the commands up until this point are undone. Similarly, the Redo (Ctrl+Y) command's button also has a menu with the commands which have just been undone.

Please note that an action that was executed, such as drag-and-drop, can involve several command actions.

You can save up to 100 commands which can be undone. Furthermore, if you are working in parallel, restrictions arise from the actions of other users, whose commands might prevent an undo operation.

Where can you undo and redo changes?

The functions for undoing and redoing your last command actions are available to you throughout the model editor.

The exception is change logging, which always logs undo and redo operations as well.

Where you can exclusively undo changes?

The following commands permit an undo operation but not a redo operation.

  • Copy (Ctrl+C) and Paste (Ctrl+V)
  • Change a subprocess into a call activity (Design>Model Elements>Refactor>Convert to Call Activity and ...>Convert to Subprocess)
  • Show in new classifier diagram (Design>Model Elements>Refactor>Show in new Classifier Diagram)
  • Duplicate Hierarchy
  • Split database tables
  • Merge tables to foreign keys

When you cannot undo changes

Certain actions delete the saved command actions so that an undo operation is no longer possible.

  • Changing roles (Model>Switch Role)

  • Rights from all roles toggle command (status bar)

  • Changing Model/Display Language (status bar or Translation tool window)

  • Switching to model administrator mode (Model>Administrative Tasks>Administrator Mode or Current User in the status bar)

  • Changes in the backstage views (e.g. creating and renaming models)

  • Changes in the configuration

  • Importing a model fragment