Collection<WorkflowVariable> variableList = workflowManager.getProcessVariableDefinitionList(processDefId);
//get participant list
Collection<WorkflowParticipant> participantList = workflowManager.getProcessParticipantDefinitionList(processDefId);
WorkflowParticipant processStartWhiteList = new WorkflowParticipant();
processStartWhiteList.setId("processStartWhiteList");
processStartWhiteList.setName(ResourceBundleUtil.getMessage("console.app.process.common.label.processStartWhiteList"));
processStartWhiteList.setPackageLevel(false);
participantList.add(processStartWhiteList);
// get participant map
Map<String, PackageParticipant> participantMap = (packageDefinition != null) ? packageDefinition.getPackageParticipantMap() : new HashMap<String, PackageParticipant>();