Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: Failing to get task content on jBPM 5.4.0-SNAPSHOT" To view the discussion, visit: https://community.jboss.org/message/758203#758203 -------------------------------------------------------------- To get the content out of the task you should use: long contentId = task.getTaskData().getDocumentContentId(); if (contentId != -1) { BlockingGetContentResponseHandler responseHandler = new BlockingGetContentResponseHandler(); client.getContent(contentId, responseHandler); Content content = responseHandler.getContent(); input = ContentMarshallerHelper.unmarshall(content.getContent(), null); } HTH -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/758203#758203] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
