JAVA:
processEngine.getRuntimeService().getVariable("132501","user_flow_start_dept");
SQL:
select * from ACT_RU_EXECUTION where ID_ = "132501"; select * from ACT_RU_VARIABLE where EXECUTION_ID_ = "132501" and NAME_= "user_flow_start_dept" and TASK_ID_ is null ;