comalaLoadWorkflowToPage
Syntax | comalaLoadWorkflowToPage(pageId, workflowMarkup) | Package | comala |
Alias |
| Pkg Usage |
|
Description
Sets workflows to the page according to a given markup. For more information about the markup, see Comala Workflow Authoring Guide.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
pageId | Integer | Yes | The selected page to set the workflow. |
workflowMarkup | String | Yes | Refer to Comala Workflow Authoring Guide. |
Return Type
Boolean
Returns 'true' if successful, and 'false' in all other cases.
Example
string workflowMarkup = readFromTextFile("C:/workflowMarkup.txt");
number pageId = getPage("TST", "Test page")
return comalaLoadWorkflowToSpace(pageId, workflowMarkup);Returns 'true'
