title: Task created is null in Camunda using singleResult() method
body: <p>I was creating a taskService in camunda with the following command, But am getting null task created. Any idea what could be the reason?</p>
  <pre><code>Task task = taskService.createTaskQuery()
              .processInstanceBusinessKey(businessKey).initializeFormKeys().singleResult()
  </code></pre>
  <p>task evaluated to null.</p>
  <p><code>businessKey</code> is a valid non-empty string provided.</p>