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

Serialization of DMN Result in Process Engine

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 7.4.0, 7.4.0-alpha3
    • None
    • dmn-engine
    • None

    Description

      AT:

      • DMN result should not be set as variable
        • possible backwards compatibility problem when update to new camunda version
        • result is only avaiable for output mapping or execution listeners that are attached to the business rule task
        • name of transient variable is "decisionResult"
      • mapping of result / convenience functions:
        • mapping function is specified by "camunda:mapDecisionResult" attribute:
          • singleValue: TypedValue
          • singleOutput: Map<String, Object>
          • collectValues: List<Object>
          • outputList: List<Map<String,Object>>
        • default mapping is "outputList"
        • the result of the mapping is set as variable that name is specified by "camunda:resultValue" attribute
        • if "camunda:resultValue" is missing then the result is not stored
      • DecisionResult should implement List and DecisionOutput Map interface to use it easy with EL
      • change type of collect value to something that can be serialize (currently it is of type number which is abstract)

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                sebastian.menski Sebastian Menski
                philipp.ossler Philipp Ossler
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce