comalaActivateSpaceWorkflow
Syntax | comalaActivateSpaceWorkflow(spaceKey, workflowName) | Package | comala |
Alias | Pkg Usage |
Description
Activate workflow in space.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
spaceKey | String | Yes | Selected space to activate the workflow of. |
workflowName | String | Yes | Selected workflow to be activated. |
Return Type
Boolean
Returns 'true' if successful, and 'false' otherwise. For example, it will be false when there is no workflow in the space with the selected name.
Example
return comalaActivateSpaceWorkflow("TST", "Test Workflow");Returns 'true' if the workflow "Test Workflow" exists in Space "TST" and can be activated or already active, returns 'false' otherwise.
