Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2435

When I use the REST variable instance query, Java Objects are always fetched in their serialized representation

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0, 7.2.0-alpha5
    • Component/s: engine
    • Labels:

      Description

      AT:

      • The variable instance queries (History + Runtime) always fetch serialized java objects as JSON
      • Type Serializable: Handle in the same way as byte[], i.e. neither return value nor serializedValue (and no error message) but allow users to call /variable-instance/{id]/data that returns application/octet-stream
      • Type SpinSerialization: returned json has field "value" with value null and field "serializedValue" with json representation of SerializedValue object
      • primitive types: field "value" is filled and field "serializedValue" is null
      • docs

        Attachments

          Activity

            People

            Assignee:
            sebastian.menski Sebastian Menski
            Reporter:
            meyer Daniel Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: