FlowDefinition
If you deploy with flow definitions, the active version numbers in the flow definitions override the status fields in the flows. For example, the active version number in the flow definition is version 3, and the latest version of the flow is version 4 with the status field as Active. After you deploy your flow, the active version is version 3.
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. |
apiVersion | int | Reserved for internal use. |
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. |
Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.