new Workflow(idopt, nameopt, statesopt)
Creates a new Workflow instance
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
id |
number |
<optional> |
0 | The workflow's unique identifier |
name |
string |
<optional> |
"" | The name of the workflow |
states |
Array.<WorkflowState> |
<optional> |
[] | The states associated with this workflow |
- Source: