You are here:
Migration of Expression Sets with Dependencies
Expression set versions can reference elements such as decision matrices, decision tables, subexpressions, context definitions, field and object aliases, and explainability message templates. Migrate the dependent elements independently before you migrate the expression set version.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions for clouds that have Business Rules Engine enabled |
This image depicts the dependencies among components typically used in expression sets. To migrate these components, start from the independent components in Level 1 of the Deployment Order and move up along the order.
Consider these recommendations.
- You can deploy an expression set along with its immediate dependencies simultaneously. If those dependencies contain further nested dependencies, then migrate the lowest-level dependencies before you deploy the parent expression set.
- Migrate the lookup tables before you migrate the expression set and subexpression versions.
- If the expression set version contains a context definition, then migrate the context mapping, and context definition independently. Activate the definition, and then migrate the expression set.
- If the expression set version uses field aliases for the fields on custom objects or the custom fields on standard objects, then make sure that you migrate the dependencies before you migrate the expression set version.
- If the expression set contains a decision table that uses the fields on a custom object or the custom fields on a standard object, then make sure that you migrate the dependencies before you migrate the decision table, and then migrate the expression set that contains the decision table.
- Deactivate lookup tables, and then migrate them. The migration of a lookup table deploys
the metadata of the lookup table and not the data. Import data into the lookup tables
after the migration is complete and then activate the lookup tables.
- After you migrate a decision matrix without row data, open the decision matrix version in the target org, and then upload the row data by using the Upload CSV File option.
- After you migrate a decision table without row data, refresh the decision table with the latest data in the object that it refers to.
Here are a few dependency scenarios in expression sets and the recommended migration steps.
When the input or output variables in a new expression set version are changed or deleted, it constitutes a contract-breaking change. You can't migrate an expression set version with a contract-breaking change directly. However, you can save it as a new expression set, and migrate the new expression set. These examples illustrate this concept.


