How will I force the user to comment in bonita



I want to force the user to encode a comment in the comment tab when they will reject the task. The comment tab I am talking about is the default comment tab in bonita when viewing the task not the custom comment input.

Please help.


1 answer


I would do it this way:

Change the Reject Button to a Checkbox
Add a hidden field on to the form which will take the rejection comment.

When the Reject Checkbox is selected the Required Field Reject Comment is opened and must then be completed.

In your process Output Operations you can then use the API to fill in the default process Comment Field (tab) as required.


PS: As this reply offers an answer your question, and if you like it, please Mark UP and/or as Resolved.


Submitted by ChristianMichae... on Tue, 02/14/2017 - 00:06


How about a modal comment do you know how to do it?

Submitted by Sean McP on Tue, 02/14/2017 - 02:53

Nope, sorry. If you find out let us know, thanks.