// Load the JBPM process into the executor
ProcessDefinition processDefinition = ProcessDefinition.parseXmlString(process);
// Iterate over the nodes manually, creating a domain representation of the step in the process
SuperState mainProcess = (SuperState) processDefinition.getNode("main_process");
if (mainProcess == null) {
log.warn("Could not retrieve main process for package [" + packageDetails + "]");
return null;
}
List<DeployPackageStep> steps = new ArrayList<DeployPackageStep>();
List<Node> nodes = mainProcess.getNodes();
for (Node node : nodes) {
Action action = node.getAction();
if (action != null) {