Parent Type
This
type extends the Metadata metadata type and inherits its
fullName field.
Version
ProcessFlowMigration components are available in API version 58.0 and later.
Special Access Rules
Fields
| Field Name | Description |
|---|---|
| destinationFlowDefinition |
|
| destinationFlowVersion |
|
| developerName |
|
| masterLabel |
|
| migratedCriteriaLabel |
|
| migratedCriteriaName |
|
| processVersion |
|
Declarative Metadata Sample Definition
The following is an example of a ProcessFlowMigration component.
<?xml version="1.0" encoding="UTF-8"?> <ProcessFlowMigration xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <destinationFlowDefinition>Migration_1</destinationFlowDefinition> <destinationFlowVersion>Migration_1-1</destinationFlowVersion> <developerName>Migration</developerName> <masterLabel>Migration_1</masterLabel> <migratedCriteriaLabel>myCriteria_1</migratedCriteriaLabel> <migratedCriteriaName>myDecision</migratedCriteriaName> <processVersion>Migration-1</processVersion> </ProcessFlowMigration>
The following is an example package.xml that references the previous definition.
<?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>*</members> <name>ProcessFlowMigration</name> </types> <types> <members>*</members> <name>Flow</name> </types> <version>58.0</version> </Package>
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.