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

I can set value or typed value for a primitive variable in the handler function

    XMLWordPrintable

    Details

      Description

      AT:

      • I can use the `task.variables` object to have access to the variables of the task through getters (get and getTyped).
      • I can call set(key, value) to set the value of variable corresponding to key. The type of the variable should be adjusted accordingly.
      • I can call setTyped(key, typedValue) to set typed value to variable corresponding to key.
      • I can call setAll(values) to set multiples values at once.
      • I can call setAllTyped(typedValues) to set multiple typed values at once.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              fabian.hinsenkamp Fabian Hinsenkamp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: