createStateDefinition
Creates a new state definition for a workflow definition. Optionally, a state may launch either a procedure or a sub-workflow as its "process" when the state is entered.
You must specify projectName
, workflowDefinitionName
, and stateDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
The name of the project. Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
stateDefinitionName |
Choose any unique name of your choice for the state definition. This name must be unique within the workflow definition. Argument type: String |
actualParameters |
(Optional) Specifies the values to pass as parameters to the process. Each parameter value is specified with an Argument type: Map |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
startable |
(Optional) < Boolean flag— Argument type: Boolean |
subprocedure |
(Optional) Name of the procedure launched when the state is entered. Also requires Argument type: String |
subproject |
(Optional) Name of the project containing the procedure or workflow launched when the state is entered. Argument type: String |
substartingState |
(Optional) Name of the starting state for the workflow launched when the state is entered. Also requires Argument type: String |
subworkflowDefinition |
(Optional) Name of the workflow definition launched when the state is entered. Also requires Argument type: String |
createTransitionDefinition
Creates a new transition definition for workflow definition.
You must specify projectName
, workflowDefinitionName
, stateDefinitionName
, transitionDefinitionName
, and targetState
.
Arguments | Descriptions |
---|---|
projectName |
The name for the project that must be unique among all projects. Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
stateDefinitionName |
The name of the state definition. Argument type: String |
transitionDefinitionName |
The name of the transition that must be unique among all state definitions. Argument type: String |
targetState |
Target state for the transition definition. Argument type: String |
actualParameters |
(Optional) Specifies the values to pass as parameters to the target state. Each parameter value is specified with an Argument type: Map |
condition |
(Optional) A fixed text or text embedding property references that are evaluated into a logical TRUE or FALSE. An empty string, a "0" or "false" is interpreted as FALSE. Any other result string is interpreted as TRUE. This field is ignored by the server if Argument type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
trigger |
(Optional) Type of trigger for this transaction. Possible values are: Argument type: TransitionTrigger |
Positional arguments
projectName
, workflowDefinitionName
, stateDefinitionName,
transitionDefinitionName
, targetState
createWorkflowDefinition
Creates a new workflow definition for a project.
You must enter a projectName
and a workflowDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
Name for the project; must be unique among all projects. Argument type: String |
workflowDefinitionName |
Name of the workflow definition; must be unique within the project. Argument type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
workflowNameTemplate |
(Optional) The name of the workflow template that the system uses to name instances of this workflow definition. Argument type: String |
deleteStateDefinition
Deletes a state definition.
You must specify a projectName
, workflowDefinitionName
, and stateDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
The name of the project containing the state definition. Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
stateDefinitionName |
The name of the state definition. Argument type: String |
deleteTransitionDefinition
Deletes a transition definition.
You must specify a projectName
, workflowDefinitionName
, stateDefinitionName,
and transitionDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
The name of the project containing the transition definition. Argument type: String |
stateDefinitionName |
The name of the state definition. Argument type: String |
transitionDefinitionName |
The name of the transition definition. Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
Positional arguments
projectName, workflowDefinitionName, stateDefinitionName, transitionDefinitionName
deleteWorkflowDefinition
Deletes a workflow definition, including all state and transition definitions.
You must specify a projectName
and a workflowDefinitionName
Arguments | Descriptions |
---|---|
projectName |
The name of the project containing the workflow definition to delete. Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
getStateDefinition
Retrieves a state definition by its name.
You must specify projectName
, workflowDefinitionName
, and stateDefinitionName
.
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 |
stateDefinitionName |
Name of the state definition. Argument type: String |
getStateDefinitions
Retrieves all state definitions in a workflow definition.
You must specify projectName
and workflowDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
The name for the project that must be unique among all projects. Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
includeFormalParameters |
(Optional) < Boolean flag - ` 0|1|true|false` > If this argument is set to Argument type: Boolean |
startableOnly |
(Optional) < Boolean flag - ` 0|1|true|false` > If this argument is set to Argument type: Boolean |
getTransitionDefinition
Finds a transition definition by its name.
You must specify projectName
, workflowDefinitionName
, stateDefinitionName
, transitionDefinitionName
.
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 |
stateDefinitionName |
Name of the state definition. Argument type: String |
transitionDefinitionName |
Name of the transition definition. Argument type: String |
Positional arguments
projectName, workflowDefinitionName, stateDefinitionName, transitionDefinitionName
getTransitionDefinitions
Retrieves all transition definitions in a workflow definition.
You must specify projectName
, stateDefinitionName
, workflowDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
stateDefinitionName |
The name of the state definition. Argument type: String |
targetState |
(Optional) The name of the target state that limits results to transition definitions that have the specified state definition as a target. Argument type: String |
getWorkflowDefinition
Retrieves a workflow definition by its name.
You must specify a projectName
and a 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 |
getWorkflowDefinitions
modifyStateDefinition
Modifies an existing state definition.
You must specify projectName
, workflowDefinitionName
, and stateDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
stateDefinitionName |
The name of the state definition to modify. Argument type: String |
actualParameter |
(Optional) Specifies the values to pass as parameters to the process. Each parameter value is specified with an Argument type: Map |
clearActualParameters |
(Optional) < Boolean flag — If set to Argument type: Boolean |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
newName |
(Optional) New name for the state definition. Argument type: String |
startable |
(Optional) < Boolean flag — If this argument is set to Argument type: Boolean |
subprocedure |
(Optional) The name of the procedure launched when the state is entered. It also requires Argument type: String |
subproject |
(Optional) The name of the project containing the subprocedure or workflow that is launched when the state is entered. Argument type: String |
substartingState |
(Optional) The name of the workflow starting state that is launched when the state is entered. Using this argument also requires Argument type: String |
subworkflowDefinition |
(Optional) The name of the workflow definition that is launched when the state is entered. It also requires Argument type: String |
modifyTransitionDefinition
Modifies an existing transition definition.
You must specify projectName
, workflowDefinitionName
, stateDefinitionName
, and transitionDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
The name for the project that must be unique among all projects. Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
stateDefinitionName |
The name of the state definition. Argument type: String |
transitionDefinitionName |
The name of the transition definition to modify. Argument type: String |
actualParameter |
(Optional) Specifies the values to pass as parameters to the target state. Each parameter value is specified with an |
clearActualParameters |
(Optional) < Boolean flag — If set to Argument type: Boolean |
condition |
(Optional) A fixed text or text embedded property references that are evaluated into a logical "true" or "false". An empty string, a "0" or "false" is interpreted as "false". Any other result string is interpreted as "true". This field is ignored by the server if Argument type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
newName |
(Optional) New name of the transition definition that must be a unique name within the workflow. Argument type: String |
targetState |
(Optional) The target state for the transition definition. Argument type: String |
trigger |
(Optional) Possible values are: Argument type: TransitionTrigger |
Positional arguments
projectName, workflowDefinitionName, stateDefinitionName, transitionDefinitionName
ec-perl
syntax: $cmdr->modifyTransitionDefinition (<projectName>, <workflowDefinitionName>, <stateDefinitionName>, <transitionDefinitionName>, {<optionals>});
modifyWorkflowDefinition
Modifies an existing workflow definition.
You must specify 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 |
The name of the workflow definition to modify. Argument type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
newName |
(Optional) The new name for the workflow definition. It must be a unique name within the workflow. Argument type: String |
workflowNameTemplate |
(Optional) The template used to determine default names for workflows launched from a workflow definition. Argument type: String |
moveStateDefinition
Moves a state definition within a workflow definition.
You must specify projectName
, workflowDefinitionName
, and stateDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
The name of the project containing the state definition. Argument type: String |
stateDefinitionName |
The name of the state definition to move. Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
beforeStateDefinition |
(Optional) Use this option to reorder state definitions in a workflow definition. The state definition ( Argument type: String |
moveTransitionDefinition
Moves a transition definition within a workflow definition.
You must specify projectName
, workflowDefinitionName
, stateDefinitionName
, and transitionDefinitionName
.
Arguments | Descriptions |
---|---|
projectName |
The name of the project containing the transition definition. Argument type: String |
workflowDefinitionName |
The name of the workflow definition. Argument type: String |
stateDefinitionName |
The name of the state definition. Argument type: String |
transitionDefinitionName |
The name of the transition definition to move. Argument type: String |
beforeTransitionDefinition |
Use this option to move a transition definition in a workflow definition. The transition definition is moved to a position just before the transition definition named by this option. If omitted, the transition definition is moved to the end of the workflow definition. |
Positional arguments
projectName, workflowDefinitionName, stateDefinitionName, transitionDefinitionName