[jboss-user] [jBPM] - Dynamic Task UI via HornetQ

Benjamin Wirtz do-not-reply at jboss.com
Sun Jan 20 16:50:41 EST 2013

Benjamin Wirtz [https://community.jboss.org/people/bennixview] created the discussion

"Dynamic Task UI via HornetQ"

To view the discussion, visit: https://community.jboss.org/message/793118#793118


i want to show dynamic HumanTask UI in my App via HornetQ.
For Test I have a simple Process with one HT. inputData String userID , String reason. outputData Boolean acceptedOut. The User have to check a checkBox to set the Variable acceptedOut to true.
Now I want to retrieve the input / output Data to build a generic UI.
For that i read the Task via HornetQ TaskService and read the DocumentConten like this:

long contentId = task1.getTaskData().getDocumentContentId();
Content content = client.getContent(contentId);
Object unmarshalledObject = ContentMarshallerHelper.unmarshall(content.getContent(), null);

Now i've got the inputData. But i can't get the outputData. The ...getTaskData().getOutputContentId() is still -1.

What am I doing wrong?

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130120/4cf67ce8/attachment-0001.html 

More information about the jboss-user mailing list