Syntax
comalaLoadWorkflowToSpace(spaceKey, workflowMarkup)
Description
Sets workflows to the space according to a given markup. For more information about the markup, see Comala Workflow Authoring Guide.
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
spaceKey | string | Yes | Selected space to retrieve the workflow of. |
workflowMarkup | string | Yes | Comala Workflows markup. |
Return type
Boolean
Returns true if successful, and false otherwise.
Example
string workflowMarkup = readFromTextFile("C:/workflowMarkup.txt"); return comalaLoadWorkflowToSpace("TST", workflowMarkup);
Returns true