Workflow objects are split into two types: Definition objects and Instance objects. Definition objects provide 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. When you run the workflow definition, 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.
|The "Instance" qualifier is omitted 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.