In CloudBees CD, workflows always have a single active state. Each state in a workflow, when it becomes active, can perform an action. A state can run a procedure to create a sub-job or run a workflow definition to create a subworkflow in the same way that procedures can call other procedures. One or more states can be designated as starting states to provide multiple entry points into the workflow. See state definition .