LOG.debug("规则: {} 开始执行,规则执行类为: {}", statement, classPath);
Class<?> classObj = processEngineConfiguration.getRuleClass(rule.getId());
if (classObj != null) {
try {
InsertRulesScript insertRulesScript = (InsertRulesScript) classObj.newInstance();
insertRulesScript.execute(persistentObject, sqlCommand, processEngineConfiguration);
} catch (Exception e) {
LOG.error("规则: " + statement + " 执行出错,规则执行类为: " + classPath + ",错误信息: " + e.getMessage(), e);
throw new FixFlowException(ExceptionCode.RULEEXCEPTION_CLASSEXEC, e, statement, classPath, e.getMessage());