Syntax
comalaGetState(pageId)
Description
Gets the workflow state of the page from the Comala Workflows add-on.
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
pageId | number | Yes | The selected page to retrieve the workflow state of. |
Return type
String
Example
return comalaGetState(getPage("TST", "Demo Page"));
Returns "Approved"