// look up the configuration for the order state
nodeQuery = "//job_chain[@name='" + spooler_task.order().job_chain().name() + "']/order/process[@state='" + spooler_task.order().state() + "']";
this.getLogger().debug9("monitor: lookup order node query for job chain: " + nodeQuery + "/params/param");
nodeList = xpath.selectNodeList(nodeQuery + "/params/param");
nodeParams = xpath.selectSingleNode(nodeQuery + "/params");
if (nodeList == null || nodeList.getLength() == 0) {
nodeQuery = "//application[@name='" + spooler_task.order().job_chain().name() + "']/order/process[@state='" + spooler_task.order().state() + "']";
this.getLogger().debug9("monitor: lookup order node query for application: " + nodeQuery + "/params/param");
nodeList = xpath.selectNodeList(nodeQuery + "/params/param");
nodeParams = xpath.selectSingleNode(nodeQuery + "/params");