String lastUnpublished = null;
boolean allPublished = true;
for (Module module : moduleList) {
if (module.getNode() != null) {
GWTJahiaWorkflowInfo info = module.getNode().getWorkflowInfo();
if (info.getActiveWorkflows().size()>0) {
GWTJahiaWorkflow workflow = info.getActiveWorkflows().values().iterator().next();
String current = workflow.getDefinition().getName();
allPublished = false;
if(workflow.getDuedate()!=null) {
infoLayers.addInfoLayer(module, "Workflow :<br/>"+current+" is waiting on timer.<br/>Will be triggered at : "+ DateTimeFormat.getMediumDateTimeFormat().format(workflow.getDuedate()),
"red", "red", removeListener, true, "0.7");