This content has been marked as final.
Show 2 replies
-
1. Re: Failing to get task content on jBPM 5.4.0-SNAPSHOT
swiderski.maciej Sep 6, 2012 3:06 AM (in response to eplath007)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
-
2. Re: Failing to get task content on jBPM 5.4.0-SNAPSHOT
eplath007 Sep 6, 2012 8:38 AM (in response to swiderski.maciej)Thank you Maciej, works perfectly!