} else {
String workflowState = ObjectUtils.to(String.class, originals.get("cms.workflow.currentState"));
if (workflowState != null) {
Workflow workflow = Query.
from(Workflow.class).
where("contentTypes = ?", h.getState().get("objectType")).
first();
if (workflow != null) {
for (WorkflowState s : workflow.getStates()) {
if (workflowState.equals(s.getName())) {
workflowState = s.getDisplayName();
break;
}
}