我已经试过这 @Override public void notify(DelegateExecution arg0) throws Exception{
Alfresco的 - 方法来获取Attachement
其次
taskService = arg0.getEngineServices().getTaskService();
String id = arg0.getProcessInstanceId();
List <Attachment> attach = taskService.getProcessInstanceAttachments(id);
但是我没有得到任何附件。由于attach.size()是。 需要关于此的帮助。
或者我应该尝试露天的RESTful API来获取附件
我的是企业版。但是我没有跟着你。 'ApplicationContext ctx = ApplicationContextHelper.getApplicationContext(); \t \t ServiceRegistry serviceRegistry =(ServiceRegistry)ctx.getBean(ServiceRegistry.SERVICE_REGISTRY); \t \t ContentService contentService = serviceRegistry.getContentService();'现在如何从这里获得附件。谢谢 – Kangkan