---
schema_version: "1"
id: ed329fcfa546dfd72f73f972ae53d8a071e3c3d603d8de66a5ab4c47201c740f
title: ProcessFlowMigration
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_processflowmigration.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_processflowmigration.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e1c1ce8de63e2d0025acdba80187d79469c721829c6a591b27445e2f4d7013cc
description: Represents a process's migrated criteria and the resulting migrated flow.
---
# ProcessFlowMigration

Represents a process's migrated criteria and the resulting migrated flow.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Parent Type

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/metadata.htm) 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 | 
Field Type

string

Description

Required. The ID of the resulting migrated flow.



 |
| destinationFlowVersion | 

Field Type

string

Description

Required. The version ID of the migrated flow.



 |
| developerName | 

Field Type

string

Description

Required. The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.



 |
| masterLabel | 

Field Type

string

Description

Required. The label for the ProcessFlowMigration.



 |
| migratedCriteriaLabel | 

Field Type

string

Description

The label of the criteria that was migrated.



 |
| migratedCriteriaName | 

Field Type

string

Description

The name of the criteria that was migrated.



 |
| processVersion | 

Field Type

string

Description

Required. The version ID of the originating process.



 |

## 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](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).