Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
公告:DingTalk 国际组织商业版本将于 2026 年 10 月 21 日起调整。查看详情
在高级流程设计器中,使用Groovy脚本来控制审批人规则的方法。包括前提条件、操作步骤以及具体的Groovy脚本示例,用于根据表单输入值自动分配不同的审批人员。
首先在流程表单编辑页面,我们可以使用一个单行文本框,并复制单行文本框的唯一标识
然后设置审批流程,选择审批节点 >> 审批人规则 >> 其他规则 >> Groovy 规则
if(单行文本框的唯一标识.toInteger()<100 { return['审批人userid'] } else { return['审批人userid'] }
此页面对您有帮助吗?