state definition

In CloudBees CD, workflow objects are split into two types:

  • A definition object provides the template for a running workflow instance. You create a new workflow by defining a workflow definition along with its state definition and transition definition objects.

  • An instance object is the runtime counterpart of a definition object. The system creates a new workflow object with an equivalent set of state and transition objects that represent the run-time instances of the workflow definition. We omit the instance qualifier for brevity in the API and the UI.

Each workflow can contain one or more state objects. Defining states for a workflow is analogous to defining steps for a procedure.