duxy 发表于 2021-5-8 11:53:32

请问流程中怎么调试?

您好,请问流程中怎么调试?我想在流程中设置条件,如果申请人是部门经理的话就跳过前两个审批步骤。https://www.o2oa.net:443/x_file_assemble_control/jaxrs/file/23806375-54a6-40a1-a6a2-f84478d7978d/download/stream
在选择控件的条件中写了return this.org.listDutyNameWithIdentity( this.workContext.getWork().creatorIdentityDn ) == "部门经理";
运行没有成功。我在流程里用alert和console都不管用。怎么能调试一下呢?因为我这句话this.org.listDutyNameWithIdentity( this.workContext.getWork().creatorIdentityDn )放在表单里试了,能选出职务的。

论坛管理员 发表于 2021-5-8 16:50:29

您好,
1.这个是后台代码,您可以print("内容"),在服务器查看日志
2.您可以可以看一下远程调试https://www.yuque.com/o2oa/course/wgd1nv

duxy 发表于 2021-5-10 14:45:13

明白了。多谢管理员回复!
页: [1]
查看完整版本: 请问流程中怎么调试?