ProcessFlowMigration

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

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.

Important

Parent Type 

This type extends Metadata and inherits its fields.

Version 

Introduced in API version 58.0.

File Suffix and Directory Location 

ProcessFlowMigration components are stored in the processflowmigrations directory. Files use the .processflowmigration file extension.

Fields 

destinationFlowDefinition 

  • Type: string
  • Required: Yes
  • Description: Required. The ID of the resulting migrated flow.

destinationFlowVersion 

  • Type: string
  • Required: Yes
  • Description: Required. The version ID of the migrated flow.

developerName 

  • Type: string
  • Required: Yes
  • 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 

  • Type: string
  • Required: Yes
  • Description: Required. The label for the ProcessFlowMigration.

migratedCriteriaLabel 

  • Type: string
  • Required: No
  • Description: The label of the criteria that was migrated.

migratedCriteriaName 

  • Type: string
  • Required: No
  • Description: The name of the criteria that was migrated.

processVersion 

  • Type: string
  • Required: Yes
  • Description: Required. The version ID of the originating process.

Declarative Metadata Sample Definition 

The following is an example of a ProcessFlowMigration component.

1<?xml version="1.0" encoding="UTF-8"?>
2<ProcessFlowMigration xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3    <destinationFlowDefinition>Migration_1</destinationFlowDefinition>
4    <destinationFlowVersion>Migration_1-1</destinationFlowVersion>
5    <developerName>Migration</developerName>
6    <masterLabel>Migration_1</masterLabel>
7    <migratedCriteriaLabel>myCriteria_1</migratedCriteriaLabel>
8    <migratedCriteriaName>myDecision</migratedCriteriaName>
9    <processVersion>Migration-1</processVersion>
10</ProcessFlowMigration>

The following is an example package.xml that references the previous definition.

1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3    <types>
4        <members>*</members>
5        <name>ProcessFlowMigration</name>
6    </types>
7    <types>
8        <members>*</members>
9        <name>Flow</name>
10    </types>
11    <version>58.0</version>
12</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.