您在此处:
为保险运行批处理作业
保险提供一些 Apex 批处理作业,以更正贵组织中不完整或错误的保险记录。运行这些批处理作业以启动它们。
- 单击快速访问菜单 (设置齿轮图标),然后单击开发人员控制台。
- 从调试菜单中,选择打开匿名执行窗口。
-
将其中一个代码块粘贴到输入 Apex 代码对话框中。
运行修复产品属性元数据批处理作业:
vlocity_ins.FixProductAttribJSONBatchJob attrJSONBatchJob = new vlocity_ins.FixProductAttribJSONBatchJob();ID batchprocessid3 = Database.executeBatch(attrJSONBatchJob);System.debug ('Fix attribute JSON:' + batchProcessId3);添加源类型产品属性规则批处理作业:
vlocity_ins.AttributeRuleUpgradeBatch upgradeAttrRuleBatchJob = new vlocity_ins.AttributeRuleUpgradeBatch();ID batchProcessId2 = Database.executeBatch(upgradeAttrRuleBatchJob);System.debug('Add source type to attribute rule process id:' + batchProcessId2);修复未完成覆盖定义批处理作业:
vlocity_ins.FixIncompleteOverrideDefinitionBatch fixOverrideBatchJob = new vlocity_ins.FixIncompleteOverrideDefinitionBatch();ID batchProcessId1 = Database.executeBatch(fixOverrideBatchJob);System.debug('Fix Incomplete Override Definition process id:' + batchProcessId1); - 单击执行。
- 对剩余代码块重复步骤 3 和 4。
