}
@Override
public void setValues(StepDefinition otherDefinition) {
if(!(otherDefinition instanceof HumanStepDefinition)) {
throw new SimpleWorkflowException("An instance of HumanStepDefinition is required to set values");
}
HumanStepDefinition stepDefinition = (HumanStepDefinition) otherDefinition;
setAssignee(stepDefinition.getAssignee());
if (stepDefinition.getCandidateGroups() != null && !stepDefinition.getCandidateGroups().isEmpty()) {