Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created 
the discussion

"Re: XML Deserialization of Result Map Fails 5.4.0.Beta1"

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

--------------------------------------------------------------
If you provide object of the custom type then XStream is not involved at all. 
XStream (or any data type) will be involed only if the parameter is of type 
string as it will try to build object representation based on string.

 take a look at this example  
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-bpmn2/src/test/resources/BPMN2-ObjectStructureRef.bpmn2
 process definition it uses custom class as process variable for this you can 
either execute it with object of type string (an xml representation of it) or 
give it directly the instance of that type. Here is a corresponding  
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/structureref/StructureRefTest.java#L99
 test case that uses string/xml representation but I just tired with instance 
of person class and it works as expected.

Can you see any difference with your process or code used to complete work item?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/772270#772270]

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
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to