comalaSetState

comalaSetState

Syntax

comalaSetState(pageId, workflowState, [comment])

Package

comala

Alias

Pkg Usage

Description

Sets the workflow state of the page using the Comala Document Management add-on.

Parameters

Parameter name

Type

Required

Description

pageId

Integer

Yes

The selected page to change the workflow state on.

workflowState

String

Yes

Name of the workflow state to be set to.

comment

String

Yes

Comment to be added to the Comala workflow history.

Return Type

Boolean

Example

return comalaSetState(getPage("TST", "Demo Page"), "Approved", "Page was approved by: " + currentUserFullName());

Returns 'true'

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.