cancel
Showing results for 
Search instead for 
Did you mean: 

UserTask vs org.activiti.engine.task.Task

bolashokry
Champ in-the-making
Champ in-the-making
Hello,

It might be a basic question but it confuses me.
In documentation of interface
org.activiti.engine.task.Task
  its written "<i>Represents one task for a human user.</i>" ..  So why class
UserTask
doesn't implement this interface. And what is the difference between both? And which one should I use to represent a user task?

Regards,
Bola
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Bola,

org.activiti.engine.task.Task represents runtime task instance (task created by process instance (or adhoc task))
org.activiti.bpmn.model.UserTask represents UserTask in the bpmn process model.

I think it has answered your questions.
Regards
Martin