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/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]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to