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

Serialization of DMN Result in Process Engine

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4.0, 7.4.0-alpha3
    • Component/s: dmn-engine
    • Labels:
      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: