If you’re like me, you like to take shortcuts anytime you can. Why re-invent the wheel when you tweak something existing, right? You can now use cut and paste in the Workflow Editor to copy workflow states, transitions, and notes from one workspace to another. You can even clone entire workflow maps to reduce time and effort when creating similar workflows, such as approval processes for different workspaces.
The Workflow Editor copies all state and transition properties to the target workflow map, including permissions. If a copied permission already exists, the editor uses the existing one. If the permission is new, the editor adds it to the map. When pasting to the target map, the editor automatically takes in only validated states or transitions of the workflow. Nice! For example, if you copy the initial transition in a workflow map (from the Start element) to a map that already has one, the editor does not paste the transition since a map can have only one initial transition. Or, if you copy a transition with only one of its states (From or To), the editor pastes only the state since all transitions must have both a From state and a To state. Easy peasy.
You can continue copying and pasting states, transitions, and notes within the same workflow map (and the kind of pasting I like – no gluing my fingers together like with those pesky Pinterest projects).
Think of the time you can save if you create the first state in a workflow map and then clone and modify it as many times as you need to create the remaining states. When cloning within the same workflow map, you don't need to worry about duplicate IDs. The editor takes care of that by giving a cloned state or transition a temporary ID and then generating a unique ID when you save the map.
Enough talking about, here it is in action!