Flow definition version not found
Detection
- RegExp:
Error (.*) Invalid version number (\S+)
Examples
Error Invoice_Flow Invalid version number 4
Resolution
FlowDefinition {1} activates version {2}, which the target org does not have.
- Deploy the Flow itself (its .flow-meta.xml file), not only its FlowDefinition
- The activation of a flow is its <status>: remove the FlowDefinition from your sources and package.xml