Workflow editor elements

The following table lists the main workflow elements and describes each one.

Element

Editor

Description

More information

<Context>



Every workflow begins with a <Context> block. You use it to conveniently define symbols that apply to the workflow.

<Context> workflow element

<Start>



Defines the step on which the workflow starts. It optionally contains Gosu blocks to set up the workflow or its business data. It runs before any other workflow step.

<Start> workflow element

AutoStep



Defines a workflow step that finishes immediately, without waiting for time to pass or for an external trigger to activate it.

AutoStep workflow step

MessageStep



Supports messaging-based integrations. It automatically generates and sends a single integration message and then stops the workflow until the message completes. (Typically, this is through receipt of an ack return message.) After the message completes, the workflow resumes automatically.

MessageStep workflow step

ActivityStep



An ActivityStep is similar an AutoStep, except that it can use any of the branch types, such as a TRIGGER or a TIMEOUT, to move to the next step. However, before an ActivityStep branches to the next step, it waits for one or more activities to complete.

ActivityStep workflow step

ManualStep



Defines a workflow step that waits for someone—or some thing—to invoke an external trigger or for some period of time to pass.

ManualStep workflow step

GO



Indicates a branch or transition to another workflow step. It occurs only within an AutoStep workflow step.

  • If there is only a single GO element within the workflow step, branching occurs immediately upon workflow reaching that point.
  • If there are multiple GO elements within the workflow step, each GO element (except the last one) must contain conditional logic. The workflow then determines the appropriate next step based on the defined conditions.

GO

TRIGGER



Indicates a branch or transition to another workflow element. It occurs only within a ManualStep workflow step. Branching occurs only upon manual invocation from outside the workflow.

TRIGGER

TIMEOUT



Indicates a branch or transition to another workflow element. It occurs only within a ManualStep workflow step. Branching to another workflow step occurs only after a specific time interval has passed.

TIMEOUT

Outcome



Indicates a possible outcome for the workflow. This step is special. It indicates that it is a last step, out of which no branch leaves.

Outcome workflow step

<Finish>



(Optional) Defines a Gosu script to run at the completion of the workflow to perform any last clean up after the workflow reaches an outcome. It runs after all other workflow steps.

<Finish> workflow element