completeWorkflow
Marks a workflow as completed. When completed, transitions are no longer evaluated.
You must specify projectName
and workflowName
.
Arguments | Descriptions |
---|---|
projectName |
The name for the project that must be unique among all projects. Argument type: String |
workflowName |
The name of the workflow. Argument type: String |
deleteWorkflow
Deletes a workflow, including all states and transitions.
You must specify a projectName
and a workflowName
.
Arguments | Descriptions |
---|---|
projectName |
The name of the project containing the workflow to delete. Argument type: String |
workflowName |
The name of the workflow. Argument type: String |
deleteProcesses |
(Optional) < Boolean flag— If the value is Argument type: Boolean |
getState
Finds a state by its name.
You must specify projectName
, workflowName
, and stateName
.
Arguments | Descriptions |
---|---|
projectName |
Name for the project; must be unique among all projects. Argument type: String |
workflowName |
Name of the workflow. Argument type: String |
stateName |
Name of the state. Argument type: String |
getStates
Retrieves all states in a workflow.
You must specify projectName
and workflowName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
workflowName |
Name of the workflow. Argument type: String |
getTransition
Finds a transition by its name.
You must specify projectName
, workflowName
, stateName
, and transitionName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
workflowName |
Name of the workflow. Argument type: String |
stateName |
Name of the new state. Argument type: String |
transitionName |
Name of the transition instance. Argument type: String |
getTransitions
Retrieves all transitions in a workflow.
You must specify projectName
, workflowName
, and stateName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
workflowName |
The name of the workflow. Argument type: String |
stateName |
The name of the new state. Argument type: String |
targetState |
(Optional) The name of the target state that limits results to transitions that have the specified state as a target. Argument type: String |
getWorkflow
Finds a workflow by its name.
You must specify a projectName
and workflowName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
workflowName |
Name of the workflow. Argument type: String |
getWorkflows
Retrieves all workflow instances in a project.
You must specify a projectName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
runWorkflow
Runs the specified workflow definition and returns the workflow name.
You must specify the projectName
and workflowDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
workflowDefinitionName |
Name of the workflow definition. Argument type: String |
actualParameter |
(Optional) Specifies the values to pass as parameters to the workflow starting state. Each parameter value is specified with an Argument type: Map |
credentials |
(Optional) Credentials to use with the workflow state. Argument type: Collection |
priority |
(Optional) Priority of the jobs launched by the workflow. Argument type: JobPriority |
scheduleName |
(Optional) Name for the schedule for environment reservations that must be unique among all schedules for the project. Argument Type: String |
startingState |
(Optional) The initial state of the workflow. Argument type: String |
transitionWorkflow
Manually transition from the active workflow state.
You must specify projectName
, workflowName
, stateName
, and transitionName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
workflowName |
The name of the workflow to transition. Argument type: String |
stateName |
The name of the new state. Argument type: String |
transitionName |
The name of the transition. Argument type: String |
actualParameters |
(Optional) Specifies the values to pass as parameters to the transition’s target state. Each parameter value is specified with an Argument type: Map |
credentials |
(Optional) Credentials to use with the workflow state. Argument type: Collection |