|
@@ -792,7 +792,7 @@ public class ProcessService {
|
|
|
}
|
|
|
}
|
|
|
// reset command parameter if sub process
|
|
|
- if (cmdParam.containsKey(Constants.CMD_PARAM_SUB_PROCESS)) {
|
|
|
+ if (cmdParam != null && cmdParam.containsKey(Constants.CMD_PARAM_SUB_PROCESS)) {
|
|
|
processInstance.setCommandParam(command.getCommandParam());
|
|
|
}
|
|
|
if (Boolean.FALSE.equals(checkCmdParam(command, cmdParam))) {
|