|
楼主 |
发表于 2017-6-27 13:32:25
|
显示全部楼层
本帖最后由 梦冷亦寒 于 2017-6-27 13:36 编辑
单独运行子流程点保存时,提示必须指定执行者
后台是这样启动主流程的;process里没有执行规则
String masterProcess = "/TYWMS/TYWMS/process/master/masterProcess";
String sData1 = CommonUtils.createGUID();
String executor = ContextHelper.getPersonMember().getFID();
List<Map<String, String>> doc = ProcessUtils.startProcess(masterProcess, "订单流程", sData1, executor);
打印:executor: /ORG01.ogn/PSN01@ORG01.psm
错误信息:
2017-06-27 13:30:25 excute stream action, params:{"actions":[{"accept":"application/json","action":"saveTabOrderAction","actionFlag":"__action_0__","activity":"order","contentType":"json","executeContext":"","executor":"","parameters":{"table":{"@type":"table","rows":[{"fCnName":{"changed":"1"},"fCode":{"changed":"1","value":"1"},"fDescription":{"changed":"1"},"fEnName":{"changed":"1"},"fHouseSit":{"changed":"1"},"fName":{"changed":"1"},"fTypeCode":{"changed":"1"},"userdata":{"id":{"value":"E76362BAB87E4785987730C01C3763B9"},"isModified":true,"recordState":"new"},"version":{"changed":"1","value":0}}],"userdata":{"idColumnDefine":"tabOrder","idColumnName":"tabOrder","idColumnType":"String","model":"/TYWMS/TYWMS/data","relationAlias":"fCnName,fCode,fDescription,fEnName,fHouseSit,fName,fTypeCode,version","relationTypes":"String,String,String,String,String,String,String,Integer","relations":"tabOrder.fCnName,tabOrder.fCode,tabOrder.fDescription,tabOrder.fEnName,tabOrder.fHouseSit,tabOrder.fName,tabOrder.fTypeCode,tabOrder.version","sys.rowid":"tabOrder","updateMode":"whereVersion"}}},"process":"/TYWMS/TYWMS/process/order/orderProcess"},{"accept":"application/json","action":"externalStartProcessAction","actionFlag":"__action_1__","activity":"order","contentType":"application/json","executeContext":"","executor":"","parameters":{"attributes":{"sData1":"E76362BAB87E4785987730C01C3763B9"},"executor":"","process":"/TYWMS/TYWMS/process/order/orderProcess"},"process":"/TYWMS/TYWMS/process/order/orderProcess"}]}
为什么"executor":"",
|
|