Start and End event should be able to have Execution Listeners as well

Description

We need this for use cases like writing the current end event to a process variable which might be read by some parent process definition by an Execution Listener like this:

public class RememberEndStateNameyExecutionListener implements ExecutionListener {
public void notify(DelegateExecution ctx) throws Exception {
ctx.setVariable("end-event-name", ((ExecutionEntity)ctx).getActivity().getProperties().get("name"));
}
}

Assignee

Bernd Ruecker (camunda)

Reporter

Bernd Ruecker (camunda)

Labels

None

Components

Fix versions

Priority

Major
Configure