阅读:2486
回复:2
|
调用StartWorkflow方法发起流程后自动提交到下一活动节点问题
我想在第三位网站中发起H3流程但不提交,效果等同于手工发起一个表单并保存(但不提交)。但bool finishStart参数无论是true或false,流程都提交了,有解决办法吗?
代码如下: BPMService.BPMServiceSoapClient client = new BPMService.BPMServiceSoapClient(); BPMService.BPMServiceResult result = client.StartWorkflow(auth, "DQLR", "Administrator", false, pdw.ToArray()); |
1楼#
发布于:2018-09-25 13:34
找到这个文件
\Portal\WebServices\BPMService.asmx 把startWorkflow函数的里面这一段的true改成finishStart // 启动流程的消息 OThinker.H3.Messages.StartInstanceMessage startInstanceMessage = new OThinker.H3.Messages.StartInstanceMessage( emergency, InstanceId, paramTables, Instance.PriorityType.Normal, finishStart, null, false, OThinker.H3.Instance.Token.UnspecifiedID, null); |
|