update - 修复自动通过会影响后续节点的问题
This commit is contained in:
parent
c22df52954
commit
e7551e11af
@ -29,7 +29,7 @@ public interface BpmConstants {
|
||||
String BPM_MODEL_CATEGORY = "bpm_model_category";
|
||||
String MODEL_META_INFO_PROCESS = "MODEL_PROCESS";
|
||||
String MODEL_META_INFO_FORM = "MODEL_FORM";
|
||||
String BPM_ALLOW_SKIP_USER_TASK = "_INTERNAL_SKIP_USER_TASK";
|
||||
String BPM_ALLOW_SKIP_USER_TASK = "_INTERNAL_SKIP_USER_TASK_";
|
||||
/**
|
||||
* 用于国内审批节点填写审批建议
|
||||
* <p>
|
||||
|
||||
@ -403,7 +403,7 @@ public class BpmTransformUtil {
|
||||
}
|
||||
// 设置审批人为空时,允许自动通过
|
||||
if (!ObjectUtils.isEmpty(flowNode.getProperty()) && flowNode.getProperty().getAllowSkip()) {
|
||||
userTask.setSkipExpression("${" + BPM_ALLOW_SKIP_USER_TASK + "_" + flowNode.getId() + "}");
|
||||
userTask.setSkipExpression("${" + BPM_ALLOW_SKIP_USER_TASK + flowNode.getId() + "}");
|
||||
}
|
||||
if (!ObjectUtils.isEmpty(flowNode.getProperty()) && StringUtils.isNotBlank(flowNode.getProperty().getFormKey())) {
|
||||
userTask.setFormKey(flowNode.getProperty().getFormKey());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user