Syntax

comalaGetPageWorkflow(pageId)

Package

comala

Alias

Pkg Usage

Description

Returns the workflow that is set on a specified page.

Returns the workflow that is set on a specified page.

Parameters

Parameter name

Type

Required

Description

pageId

Integer

Yes

The selected page to retrieve the workflow of.

Return Type

String

Example

return comalaGetPageWorkflow(getPage("TST", "Demo Page"));

Returns "Simple approval workflow"

See also

defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock6d39ab00-d779-45b5-addf-55565d9dccefari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockb33a0636-267e-4a04-8a3d-6cde546a156bdefaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock6d39ab00-d779-45b5-addf-55565d9dccefari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockb33a0636-267e-4a04-8a3d-6cde546a156b