Access to inputs in start of task

hello,
i want to access user task inputs in a task listener in start of task, but i get a null pointer exception.
i tried async before but still have that problem, have any solution to get access to inputs of task?

Hi @aria_vaziri,

Could you please share your model and the task listener implementation?

sure
image|690x375
test.bpmn (3.0 KB)

Hi @aria_vaziri,

Below code should work
delegateTask.getVariable("<INPUT_NAME>")

Kindly find attached a simplified running example in which task listener has been implemented in javascript for simplicity purpose.

test-input-process.bpmn (2.8 KB)

1 Like