setProcessVariable可以写入主流程变量/子流程局部变量 增加了 taskId、executionId、local 字段 传 local: true 且有 taskId 时,通过 taskId 查当前 executionId 调用 runtimeService.setVariableLocal(executionId, 'subApproveUser', value) 不传 local/taskId/executionId 时,保持原来的 setVariable(processInstanceId, ...) 行为