The CreateInstance action creates a new instance of the specified workflow.
You must have already defined the specified variables when creating the flow.
Parameters
|
Type |
Name |
Description |
|---|---|---|
|
WORKFLOW |
Flow |
Specifies the flow to be started. |
|
TEXT |
DocumentId |
Specifies a document ID for document-bound flows. |
|
KEYVALUELIST |
Variables |
Specifies a list of workflow variables and their initial values. |
Return
|
Type |
Description |
|---|---|
|
SINGLEVALUE |
Returns the flow instance ID. If an error occurs, false is returned. |