Difference between ExecutionListener and TaskListener

As I read:

In general, a task listener event loop is contained between process listening events:

ExecutionListener#start
TaskListener#create
TaskListener#{assignment}*
TaskListener#{complete, delete}
ExecutionListener#end

see full list in Camunda BPMN - task listener versus execution listeners

But now I have a question: what is the difference between ExecutionListener # start and TaskListener # create, or, as I noticed, the create event started after the start of the event, which business should I set at the beginning of the event, and which should be set the creation event ? Or is there any problem if I put my entire business in a launch event?

+4
source share
1 answer

, , ExecutionListener DelegateExecution, TaskListener (bpmn cmmn) DelegateTask.

DelegateTask , , ... .

, ExecutionListeners , JavaDelegates on ServiceTasks TaskListeners UserTasks.

0

All Articles