.latestVersion()
.active();
}
public ProcessDefinitionListItem createItem(ProcessDefinition processDefinition) {
ProcessDefinitionListItem item = new ProcessDefinitionListItem();
item.addItemProperty(PROPERTY_ID, new ObjectProperty<String>(processDefinition.getId()));
item.addItemProperty(PROPERTY_NAME, new ObjectProperty<String>(getProcessDisplayName(processDefinition)));
item.addItemProperty(PROPERTY_KEY, new ObjectProperty<String>(processDefinition.getKey()));
return item;
}