Newer Version Available

This content describes an older version of this product. View Latest

FlowDefinition

Represents the flow definition’s description and active flow version number.
To activate a flow, modify the metadata object and set the activeVersionNumber to the version number to activate. To deactivate an active flow version, set the activeVersionNumber to 0 (zero) or omit the value.

Declarative Metadata File Suffix and Directory Location

FlowDefinitions are stored in the flowDefinitions directory of the corresponding package directory. The file name matches the flow definition’s unique full name, and the extension is .flowDefinition.

Version

FlowDefinition is available in API version 34.0 and later.

Field Name Field Type Description
activeVersionNumber int The version number of the active flow.
description string Description of the flow definition.
masterLabel string Label for the flow definition. In managed packages, this field inherits the flow’s active version name. To change this label from a subscriber’s org, edit the packaged flow name.