This example converts a list of calculation matrix IDs to decision matrix IDs and logs the result in the debug log.
1List<String> ids = new List<String>();2ids.add('a03xx000004WhvkAAC');3ids.add('a03xx000004WhxMAAS');4ids.add('a03xx000004WhyyAAC');56System.debug('TO MIGRATE A LIST OF CALCULATION MATRICES');7System.debug(BusinessRule.CalculationMatrixMigrationService.migrate(ids, 'vlocity_ins'));
This example converts a calculation matrix ID to a decision matrix ID and logs the result in the debug log.
1System.debug('TO MIGRATE A CALCULATION MATRIX');2System.debug(BusinessRule.CalculationMatrixMigrationService.migrate('a03xx000004Wi0aAAC', 'vlocity_ins'));