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

Libor Krzyžanek do-not-reply at jboss.com
Tue Jan 22 11:51:45 EST 2013


Libor Krzyžanek [https://community.jboss.org/people/lkrzyzanek] replied to the discussion

"Dynamic Task UI via HornetQ"

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

--------------------------------------------------------------
Hi,

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
[https://community.jboss.org/message/793114#793114]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130122/3df06688/attachment-0001.html 


More information about the jboss-user mailing list