try {
lifecycleMgr = new WorkflowLifecycleManager(lifecycleFilePath);
} catch (Exception e) {
e.printStackTrace();
}
return lifecycleMgr
.formatPct(lifecycleMgr.getPercentageComplete(inst) * 100.0);
}
private String getTaskNameFromTaskId(WorkflowInstance w, String taskId) {
if (w.getWorkflow() != null && w.getWorkflow().getTasks() != null