cancel
Showing results for 
Search instead for 
Did you mean: 

About the type of a Comment when addComment is used

estecche
Champ in-the-making
Champ in-the-making
Hi,

I was reviewing the method addComment(String taskId, String processInstanceId, String type, String message) and I was wondering if there are available any constants to be used as the type of the comment or it's just a value that I can just set as I want.

Thank you for your help,
Regards
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

You can use any type of comment.
org.activiti.engine.test.api.task.TaskServiceTest#testCustomTaskComments

Regards
Martin

Hi Martin,

I've just reviewed the example code you mentioned. Thank you very much.

Regards