Newer Version Available
CalculationMatrixMigrationService Class
Contains methods for migrating calculation matrices from the Vlocity
package to the Business Rules Engine as decision matrices.
Namespace
Example
This example converts a list of calculation matrix IDs to decision matrix IDs and logs the
result in the debug log.
This example converts a calculation matrix ID to a decision matrix ID and logs the result
in the debug log.
CalculationMatrixMigrationService Methods
The following are methods for CalculationMatrixMigrationService.
migrate(calculationMatrixIds, namespace)
Migrate calculation matrices from the Vlocity package to the Business
Rules Engine as decision matrices.
Signature
public static Map<String,Object> migrate(List<String> calculationMatrixIds, String namespace)
Parameters
- calculationMatrixIds
- Type: List<String>
- The 18-character IDs of the calculation matrices in the Vlocity managed package to be migrated to the Business Rules Engine as decision matrices.
- namespace
- Type: String
- The namespace in which Vlocity is deployed as a managed package. For example, vlocity_ins. This contains the calculation matrix custom objects.
Return Value
Type: Map<String,Object>
migrate(calculationMatrixId, namespace)
Migrate a calculation matrix from the Vlocity package as a decision
matrix to the Business Rules Engine.
Signature
public static Map<String,Object> migrate(String calculationMatrixId, String namespace)
Parameters
- calculationMatrixId
- Type: String
- The 18-character ID of the calculation matrix in the Vlocity managed package to be migrated to the Business Rules Engine as a decision matrix.
- namespace
- Type: String
- The namespace in which Vlocity is deployed as a managed package. For example, vlocity_ins. This contains the calculation matrix custom objects.
Return Value
Type: Map<String,Object>