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

comalaDeactivateSpaceWorkflow(spaceKey, workflowName)

Package

...

comala

Excerpt
Deactivate workflow in space.

Alias

Pkg Usage

Parameters

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

Parameter name

Type

Required

Description

...

id

...

Integer

Yes

...

Selected space to deactivate the workflow of.

...

The id.

Return Type

Boolean

Returns 'true' if successful, and 'false otherwise' otherwise. For example, it will be false when there is no workflow in the space with the selected name.

Example

Code Block
languagejavajs
linenumberstrue
return comalaDeactivateSpaceWorkflow("TST", "Test Workflow");

Returns 'true' if the workflow "Test Workflow" exists in Space "TST" and can be deactivated or already inactive, returns 'false' otherwise.

See also

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