{ "label": "审批驳回并重置状态", "version": "1.0.0", "description": "审批驳回并重置状态", "nodes": [ { "name": "当前用户", "process": "session.Get", "args": ["user"] }, { "name": "工作流", "process": "xiang.workflow.Save", "args": [ "{{$res.当前用户.id}}", "{{$name}}", "{{$node}}", "{{$id}}", "{{$input}}" ] }, { "name": "审批驳回", "process": "xiang.workflow.Next", "args": [ "{{$res.当前用户.id}}", "{{$res.工作流.id}}", { "审批状态": "驳回", "驳回原因": "{{$input.reason}}" } ] }, { "name": "重置工作流", "process": "xiang.workflow.Goto", "args": [ "{{$res.当前用户.id}}", "{{$res.工作流.id}}", "选择商务负责人", {} ] } ], "output": "{{$res.重置工作流}}" }