I have an execution listener bind to the start of task (start: Java Class). How can I get the task id of this task?
public class WaitForReceiptAlert implements ExecutionListener { @Override public void notify(DelegateExecution execution) throws Exception { // Is null ! execution.getProcessEngineServices().getTaskService().createTaskQuery().taskId(execution.getId()) } }