Sasi R [
http://community.jboss.org/people/sasir] created the discussion
"Re: TaskClient (Parameter mapping - Result mapping)"
To view the discussion, visit:
http://community.jboss.org/message/598550#598550
--------------------------------------------------------------
Yes you can transfer complex data types as well..You just have to type cast it as below
and you can read the paramter values from that
HashMap taskinfo1=new HashMap();
BlockingGetContentResponseHandler handlerC = new
BlockingGetContentResponseHandler();
client.getContent(taskData.getDocumentContentId(), handlerC);
Content content = handlerC.getContent();
if (content != null){
ByteArrayInputStream bais = new
ByteArrayInputStream(content.getContent());
ObjectInputStream ois;
try {
ois = new ObjectInputStream(bais);
taskinfo1 =(HashMap) ois.readObject();
} catch (IOException e) {
e.printStackTrace();
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/598550#598550]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]