Skip to end of banner
Go to start of banner

comalaDeactivateSpaceWorkflow

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Syntax

comalaDeactivateSpaceWorkflow(spaceKey, workflowName)

Description

Deactivate workflow in space.

Parameters

Parameter name

Type

Required

Description

spaceKey

string

Yes

Selected space to deactivate the workflow of.

workflowNamestringYesSelected workflow to be deactivated.

Return type

Boolean

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

Example

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.


  • No labels