2 Replies Latest reply on Nov 24, 2014 11:41 AM by swiderski.maciej

    Unexpected serialized variables in response from withvars/process/instance/ REST

    lukasz.dworski

      Hi,

       

      I found surprising bahaviour when using REST service /rest/runtime/{deploymentId}/withVars/process/instance/{processInstanceId} - in response XML process instance's variables are serialized. (??)

      When I set accept header as application/json variables are deserialized.

      Unfortunately I can't use JSON (it's design decision in project I'm participating).

      How can I handle this situation? Is there some kind of switch to set to make variables in xml deserialized? If not, how can I deserialize it on client side?

       

      I'm using JBPM 6.1.0.Final

       

      Thanks,

      Łukasz