Syntax
comalaLoadWorkflowToSpace(spaceName, workflowMarkup)
Description
Sets workflows to the space according to a given markup. Markup Information - Comala Workflow Authoring Guide. Returns true if successful, and false in all other cases.
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
pageId | number | Yes | The selected page to retrieve the workflow of. |
workflowMarkup | string | Yes | Comala Workflows markup. |
Return type
Boolean
Example
string workflowMarkup = readFromTextFile("C:/workflowMarkup.txt"); return comalaLoadWorkflowToSpace("TST", workflowMarkup);
Returns true