System.out.println(taskInfoMsg);
String status = null;
List<TaskInfo> taskInfoList = null;
ProcessManagerFactoryBean pmfb = new ProcessManagerFactoryBean();
ProcessManagerRemote pm = null;
try {
pm = pmfb.getProcessManagerForReadOnly();
ProcessManagerService pms = new ProcessManagerService(pm, null);
taskInfoList = pms.getTaskInfo(taskInfoMsg);
pm.applyChanges();