diff --git a/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java b/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java index db94f56305578f74d168adda4422e5255a2cbb8b..eab4840068229a76ff5eee509da487230c835de5 100644 --- a/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java +++ b/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java @@ -124,12 +124,11 @@ public abstract class ProcessStepHandlerBase implements IProcessStepHandler { if (ProcessTaskStepStatus.DRAFT.getValue().equals(processTaskStepVo.getStatus()) && processTaskStepVo.getIsActive().equals(1)) { draftCount += 1; - } else if (processTaskStepVo.getIsActive().equals(0) && processTaskStepVo.getStatus().equals(ProcessTaskStepStatus.HANG.getValue())) { + } else if (processTaskStepVo.getIsActive().equals(1) && processTaskStepVo.getStatus().equals(ProcessTaskStepStatus.HANG.getValue())) { hangCount += 1; } else if (processTaskStepVo.getIsActive().equals(1)) { if (processTaskStepVo.getStatus().equals(ProcessTaskStepStatus.PENDING.getValue()) - || processTaskStepVo.getStatus().equals(ProcessTaskStepStatus.RUNNING.getValue()) - || processTaskStepVo.getStatus().equals(ProcessTaskStepStatus.HANG.getValue())) { + || processTaskStepVo.getStatus().equals(ProcessTaskStepStatus.RUNNING.getValue())) { runningCount += 1; } else if (processTaskStepVo.getStatus().equals(ProcessTaskStepStatus.FAILED.getValue())) { failedCount += 1;