/**
  * A QuestionEventImpl is built from a resolved task, a choosen target state and a filled form.
  */
 public QuestionEventImpl(Task resolvedTask, String stepId, DataRecord data) {
   this.user = resolvedTask.getUser();
   this.processModel = resolvedTask.getProcessModel();
   this.processInstance = resolvedTask.getProcessInstance();
   this.resolvedState = resolvedTask.getState();
   this.actionName = "#question#";
   this.actionDate = new Date();
   this.userRoleName = resolvedTask.getUserRoleName();
   this.data = data;
   this.stepId = stepId;
 }