delegateTask.setVariableLocal是set进当前execution里面 delegateTask.setVariable 是set进最顶层的execution,processInstance级别的