Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s | heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | comalaGetState(pageId) | Package | comala | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Gets the workflow state of the page from the Comala Workflows Document Management add-on. |
Gets the workflow state of the page from the Comala Workflows Document Management add-on.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
pageId | Integer | Yes | The selected page to retrieve the workflow state of. | |
Return Type
String
Example
Code Block |
---|
|
return comalaGetState(getPage("TST", "Demo Page")); |
Returns "Approved"
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "comala_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|