Rest call GET runtime/tasks/{taskId}/variables will fetch you the task variables data.
And I have two table ACT_HI_VARINST and ACT_RU_VARIABLE.
Should I get the data from ACT_RU_VARIABLE by taskid?
But In ACT_RU_VARIABLE , the TASK_ID_ field is all NULL.