Hi everyone Im currently using the flowable modeler,
This scnecario:
Each task should have a task listener when the task is created
When the task listener invoked this listener will get the current task id and pass to a data steaming.
note: I used the “execution” as a parameter to task listener and to get the task id used the execution as a query parameter but I always get the task id from the previous task.
You can use task as a parameter to the task listener. That way you will get the current DelegateTask out of which you can get the id of the current task.
@filiphr
Within my task listener of STEP 1 I am trying to set a variable that will be used in STEP 2 of the workflow. I need to set the variable – ${execution.setVariable(‘step1TaskID’, task.getTaskId())}
Could use help and example…Please