Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Sets workflows to the space according to a given markup. Markup Information - For more information about the markup, see 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 set the workflow

.

workflowMarkupstringYesRefer to Comala Workflows markup
.

Return type

Boolean

Returns true if successful, and false in all other cases.

Example

Code Block
languagejava
linenumberstrue
string workflowMarkup = readFromTextFile("C:/workflowMarkup.txt");
number pageId = getPage("TST", "Test page")
return comalaLoadWorkflowToSpace(pageId, workflowMarkup);

...