Skip to end of banner
Go to start of banner

comalaLoadWorkflowToPage

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Syntax

comalaLoadWorkflowToPage(pageId, 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

pageId

number

Yes

The selected page to set the workflow

workflowMarkupstringYesRefer to Comala Workflows markup

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


  • No labels