Add Steps and Transitions to a Workflow

Each step in a workflow represents a logical operation that the workflow will perform. Transitions are the connections between steps and decisions.

Add Steps to a Workflow

  1. Open the workflow to work on.

  2. Drag a step from the sidebar onto the workflow canvas.

  3. Rearrange the steps as needed. The guide line helps you to align the steps neatly.

Modify a Step

Once a step has been placed on the workflow canvas, right-click the step to:

  • Open the Usage Reference panel to identify if and where the step is referenced in the project.

  • Rename the step

  • Delete the step

Copy and Paste a Step

You can copy and paste a step within a workflow, or into a separate workflow. This allows you to easily reuse a step in your project. All the logic in the original step is included in the copied step.

To copy a step, right-click the step > Copy Step.

To paste a copied step, right-click the workflow canvas > Paste Step.

If any of the following actions occur between Copy Step and Paste Step, the step will not be pasted:

  • Name of step is changed
  • Step is deleted
  • The logic within the step is changed

Limitations:

  • You cannot paste a step that contains the Start method of workflow X onto workflow X's canvas.
  • You cannot paste a step that contains the Set Result method of workflow X outside workflow X's canvas.
  • You cannot paste a step that uses its workflow parameters outside of its workflow.
  • You can only copy and paste one step at a time.
  • The Automation Studio clipboard is cleared after closing a project, or switching between projects.

Cut and Paste a Step

You can cut and paste a step within a workflow, or into a separate workflow. This allows you to easily relocate a step in your project. All the logic in the original step is included in the pasted step.

When cutting a step, the border of the step becomes dotted, signifying that you are in the process of cut and paste. After you paste the step, the border returns to its solid state.

To cut a step, right-click the step > Cut Step.

To paste a cut step, right-click the workflow canvas > Paste Step.

In general, the guidelines are the same as for copy and paste, with the following additions:

  • You cannot undo a cut and paste action.
  • Pressing Esc between cut and paste cancels the cut.
  • Dragging a step between cut and paste cancels the cut.
  • You cannot cut a step that is in use.
  • Cutting and pasting a step removes all transitions associated with the step.

Add a Transition Between Steps

A transition specifies which step should be run after the current step ends.

Note the following:

  • Each step can have multiple transitions exiting it, but only if conditions are placed on those transitions - otherwise only one transition may exit each step.

  • Each step can have multiple transitions entering it.

  • Any step that does not have a transition entering it will not be performed at run-time.

  • It is not necessary to connect any step to the End step. However, if you want to display workflow execution information in the Automation Portal, the End step must be connected or the Automation Portal will not register that the workflow ended.

To add a transition between steps:

  1. Click the step from which the transition must start.

  2. Click on one of the anchors around the step and drag a connector towards the next step.

    As you approach another step, its anchors are displayed. Drag the transition to one of those anchors and release.

Modify a Transition

Once a transition has been placed between steps you can:

  • Delete the transition: Click the transition and then click .

  • Reroute the transition: Grab one end of the transition and drag it to a different anchor of the same step or an anchor of a different step.

  • Add a condition to a transition, so that the transition will only be followed once some condition is met.

Best Practices

Note the following best practices: