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

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

    • Icon: Bug Report Bug Report
    • Resolution: None
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • 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

            [CAM-13952] How to store values that are captured in JSON string as Camunda Variables.

            Hi NagHelix,

            Could you please raise your question in the forum?

            https://forum.camunda.org/

            Best,
            Tassilo

            Tassilo Weidner added a comment - Hi  NagHelix , Could you please raise your question in the forum? https://forum.camunda.org/ Best, Tassilo

            Closing since this is not a bug.

            Tassilo Weidner added a comment - Closing since this is not a bug.

              tassilo.weidner Tassilo Weidner
              NagHelix Nag
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: