Archive for July, 2012

/* debug */

if (log.isDebugEnabled()) {

for (Entry entry : params.entrySet()) {

String key = (String) entry.getKey();

String value = (String) entry.getValue();

log.debug(“processor parameters map key:” + key + ” => ” + value);

}

try {

WFMNameValuePair[] variables = workflow.getVariables();

for (WFMNameValuePair variable : variables) {

String key = variable.getName();

String value = variable.getValue();

log.debug(“workflow variable key:” + key + ” => ” + value);

}

} catch (WFMException ex) {

log.error(ex);

}

Iterator<String> workflowParametersIterator = workflow.getParams().keySet().iterator();

while (workflowParametersIterator.hasNext()) {

String key = workflowParametersIterator.next();

String value = (String) workflowParams.get(key);

log.debug(“workflow parameter key:” + key + ” => ” + value);

}

}

Advertisements