AnsweredAssumed Answered

Workflow Task get Documentation

Question asked by alfrescot3ster on Mar 24, 2016
Latest reply on Mar 29, 2016 by afaust
Hello!

I have a custom task like:


<userTask id="usertask1" name="User Task 1" activiti:assignee="${initiator.properties.userName}">
      <documentation>
        This is the documentation and I want it
      </documentation>
      …
</userTask>


Now I want to get this documentation via Java API. "WorkflowModel" does not contain any property with "documentation", also the "WorkflowTask" itself does not contain any method like "getDocumentation()". I just find things like: "workflowTask.getPath().getInstance().getDescription()" or "workflowTask.getPath().getInstance().getDefinition().getDescription()" but nothing more.

Someone knows how to get the documentation of a task in Java?

Outcomes