/**
  * Returns the name of the user task after the start event.
  *
  * @param modelInstance the BPMN model instance
  * @return the name attribute value of the user task
  */
 protected String getUserTaskName(BpmnModelInstance modelInstance) {
   StartEvent startEvent = getStartEvent(modelInstance);
   UserTask userTask = (UserTask) startEvent.getSucceedingNodes().singleResult();
   return stripLineBreaks(userTask.getName());
 }