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

I can use the serialized string output of GetTask when updating a task via rest

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • None

      User story

      As a user, I want to use the serialized String output of Get Task Variable REST API directly in the Put Task variable REST API, so that I can complete my workflow without pre-processing the variables.

      Background

      Currently, the user needs to add the double quotes in the String value and escape it in the PUT request body (as shown below). 

      {
          "type": "Object",
          "value": "\"someString\"",
          "valueInfo": {
              "objectTypeName": "java.lang.String",
              "serializationDataFormat": "application/json"
          }
      }

      Else, it will raise the following error: 

      The expected behavior is that I can use the output of Get Task Variable REST API directly to update a task variable via Put Task variable REST API.

      Acceptance criteria

       

       

       

       

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              andre.bappert Andre
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: