流程在流转过程中或结束时想要邮件通知相关人员,使用通知节点设置收件人即可。

有时,需要通知的人员为系统外部人员,此时可以通过C#代码以自定义的方式指定外部收件人的邮件地址。

//返回值可以是User、UserCollection、Member、MemberCollection

BPM.Server.OAL.UserCollection tUsers=new BPM.Server.OAL.UserCollection();

BPM.Server.OAL.User tUser = new BPM.Server.OAL.User();

tUser.EMail = "754844102@qq.com";

tUsers.Add(tUser);

return tUsers;

Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator