BeX5 V3.2.1及其后的版本中通过相关的配置流转流转的时候移动端(app或者微信企业号)中会推送消息通知,参考消息推送

默认消息的内容只是流转生成的任务名,会比较简单,可以自己添加其他的信息

在/BIZ/system/logic/code/dsrc/ProcessPushEngine.java中message的信息如下:变量name的值

				for (Task t : tasks){
					String status = t.getStatus();
					if (TaskStatus.READY.equals(status) || TaskStatus.EXECUTING.equals(status)){
						String name = t.getName();
						String url = t.getEURL();
						if (SystemUtils.isNotEmptyString(url)){
							url += (url.contains("?") ? "&" : "?");
							url = url + "task=" + t.getId() + "&process=" + t.getProcess() + "&activity=" + t.getActivity();
							
							if (url.startsWith("/")){
								url = JustepConfig.getUIServer() + url;
							}
							logger.info("message: " + name + ", url: " + url + ", person: " + t.getExecutorFID() + ", " + t.getExecutorFName());
							Message msg = new Message(name, url, null);
							Set<String> personIDs = new HashSet<String>();
							personIDs.add(t.getExecutorFID());
							MessageDispatcherFactory.createMessageDispatcher(JustepConfig.getMqttServer()).sendMessage(msg, personIDs);
						}
					}
				}