cancel
Showing results for 
Search instead for 
Did you mean: 

Comment visible directly on task after Approve/Reject

zxdev777
Confirmed Champ
Confirmed Champ

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

1 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

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.

View answer in original post

5 REPLIES 5

afaust
Legendary Innovator
Legendary Innovator

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.

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

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

afaust
Legendary Innovator
Legendary Innovator

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.

zxdev777
Confirmed Champ
Confirmed Champ

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 Smiley Happy 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..