TextTable txtTable = new TextTable(4);
txtTable.addHeaders("Definition ID", "Name", "Version", "Resource");
for (ProcessDefinition pd : pdList) {
Integer ver = pd.getVersion();
txtTable.addRow(pd.getId(), pd.getName(), ver.toString(), formatBpmResource(pd.getResourceName()));
}
txtTable.print(out);
}
private String getExecutions(RuntimeService rt, String pi) {