If someone Approve or Reject document and provide some comment I need to click on "View task" -> "Workflow details" to see comment why document was approved or rejected.
Is it possible to display comment if I click directly on returned task in dashlet My Tasks ?
You can display the comment of the "current task" using the bpm:comment property / field from the out-of-the-box model. You cannot display the comment of the "previous task" (reject / approve decision) using the out-of-the-box workflows. You would have to replace / customise the process definition to transfer the comment over to the next task (into a custom model property) to be displayed.
It completely depends on the configuration of the task form. If that form configuration includes the response / comment field than you will see it when you navigate to the task via the My Tasks dashlet.
So it is possible just with customization of edit task form ?
do you have some reference to manual with such type of customization ?
Is it possible to customize task form to see comments (from reject / approve) with out of the box model or I need to define own ?
Then it is wrong design of out of the box workflow. If someone approve / reject document I want to see reason (comment) not just status I know comments are visible in details of workflow.
From user point of view it is better If I see in "My Tasks" rejected document click on it and directly see reason..