Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

comalaLoadWorkflowToPage(pageId, workflowMarkup)

Package

comala

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Sets workflows to the page according to a given markup.

Sets workflows to the page according to a given markup. For more information about the markup, see Comala Workflow Authoring Guide.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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.

...

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

Returns 'true'

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "comala_routines" and space = currentSpace ( )
labelsarray_routines