
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 05:00 AM
Hi all,
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 ?
Thanks
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2017 03:03 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 08:55 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 09:49 AM
Hi Axel,
So it is possible just with customization of edit task form ?
<config evaluator="task-type" condition="wf:approvedTask">
...
<field-visibility>
<show id="bpm:resposneComment" />
...
</field-visibility>
do you have some reference to manual with such type of customization ?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2017 09:49 AM
Hi all,
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 ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2017 03:03 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2017 03:41 AM
Thanks for info
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..
