How to store values that are captured in JSON string as Camunda Variables.

XMLWordPrintable

    • Type: Bug Report
    • Resolution: None
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: engine
    • None

      We are using Form.io for user interactions in tasks. Currently all the fields in the form are saved in a one single JSON variable (created for form submission).
      Is there –
      1) Any way to save these individual fields (that are in JSON variable) of the forms as Camunda variable via any task configuration?

      2) If there is a programmatic way to do it , please suggest that as well.

      Here is an mocked up example of JSON string saved as a variable –
      {"data":

      {"pstatus":"success","mdpRequest":true,"requesterId":"122343","requesterEmail":"someone@email.com","requestedDate":"2021-09-20T11:04:31.238-0400","commentsHistory":"example","submit":true,"massRequestId":"9832733"}

      ,"state":"submitted" }

      So we want save each of these data elements as Camunda Variables--

      {pstatus":"success","mdpRequest":true,"requesterId":"122343","requesterEmail":"someone@email.com","requestedDate":"2021-09-20T11:04:31.238-0400","commentsHistory":"example","submit":true,"massRequestId":"9832733"}

        This is the controller panel for Smart Panels app

              Assignee:
              Tassilo Weidner-Mühl
              Reporter:
              Nag
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: