Versions Compared

Key

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

Syntax

comalaGetState(pageId)

Package

comala

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Gets the workflow state of the page from the Comala Workflows add-on.

Gets the workflow state of the page from the Comala Workflows add-on.

Parameters

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

Parameter name

Type

Required

Description

pageId

...

Integer

Yes

The selected page to retrieve the workflow state of.

Return

...

Type

String

Example

Code Block
languagejavalinenumberstruejs
return comalaGetState(getPage("TST", "Demo Page"));

Returns "Approved"

See also

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