To get a task id from child subprocess I use own query:
SELECT proc FROM ProcessInstanceLog proc WHERE proc.parentProcessInstanceId = :parentProcessInstanceId and proc.end IS NULL
But probably it's not the best idea to get a task id (from human task from subprocess) this way.
Do you have other solution what to do in this case ?
Retrieving data ...