|
|
@ -1237,7 +1237,7 @@ public class ProcessService { |
|
|
|
CommandType commandType = getSubCommandType(parentProcessInstance, childInstance); |
|
|
|
CommandType commandType = getSubCommandType(parentProcessInstance, childInstance); |
|
|
|
Map<String, String> subProcessParam = JSONUtils.toMap(task.getTaskParams()); |
|
|
|
Map<String, String> subProcessParam = JSONUtils.toMap(task.getTaskParams()); |
|
|
|
int childDefineId = Integer.parseInt(subProcessParam.get(Constants.CMD_PARAM_SUB_PROCESS_DEFINE_ID)); |
|
|
|
int childDefineId = Integer.parseInt(subProcessParam.get(Constants.CMD_PARAM_SUB_PROCESS_DEFINE_ID)); |
|
|
|
ProcessDefinition processDefinition = processDefineMapper.queryByDefineId(childDefineId); |
|
|
|
ProcessDefinition subProcessDefinition = processDefineMapper.queryByDefineId(childDefineId); |
|
|
|
|
|
|
|
|
|
|
|
Object localParams = subProcessParam.get(Constants.LOCAL_PARAMS); |
|
|
|
Object localParams = subProcessParam.get(Constants.LOCAL_PARAMS); |
|
|
|
List<Property> allParam = JSONUtils.toList(JSONUtils.toJsonString(localParams), Property.class); |
|
|
|
List<Property> allParam = JSONUtils.toList(JSONUtils.toJsonString(localParams), Property.class); |
|
|
@ -1255,7 +1255,7 @@ public class ProcessService { |
|
|
|
TaskDependType.TASK_POST, |
|
|
|
TaskDependType.TASK_POST, |
|
|
|
parentProcessInstance.getFailureStrategy(), |
|
|
|
parentProcessInstance.getFailureStrategy(), |
|
|
|
parentProcessInstance.getExecutorId(), |
|
|
|
parentProcessInstance.getExecutorId(), |
|
|
|
processDefinition.getCode(), |
|
|
|
subProcessDefinition.getCode(), |
|
|
|
processParam, |
|
|
|
processParam, |
|
|
|
parentProcessInstance.getWarningType(), |
|
|
|
parentProcessInstance.getWarningType(), |
|
|
|
parentProcessInstance.getWarningGroupId(), |
|
|
|
parentProcessInstance.getWarningGroupId(), |
|
|
@ -1265,7 +1265,7 @@ public class ProcessService { |
|
|
|
parentProcessInstance.getProcessInstancePriority(), |
|
|
|
parentProcessInstance.getProcessInstancePriority(), |
|
|
|
parentProcessInstance.getDryRun(), |
|
|
|
parentProcessInstance.getDryRun(), |
|
|
|
subProcessInstanceId, |
|
|
|
subProcessInstanceId, |
|
|
|
parentProcessInstance.getProcessDefinitionVersion() |
|
|
|
subProcessDefinition.getVersion() |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|