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

Cannot set DmnDecisionResult as JSON-serialized process variable

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • engine
    • None

      Use case:

      • engine property defaultSerializationFormat is set to application/json
      • business rule task like below
      <bpmn2:businessRuleTask id="Task_1whdfle" name="Business Rule Task" camunda:decisionRef="decision">
            <bpmn2:extensionElements>
              <camunda:inputOutput>
                <camunda:outputParameter name="decisionResult">${decisionResult}</camunda:outputParameter>
              </camunda:inputOutput>
            </bpmn2:extensionElements>
            <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
            <bpmn2:outgoing>SequenceFlow_1s06nk9</bpmn2:outgoing>
          </bpmn2:businessRuleTask>
      

      Result: Variable gets serialized but cannot be deserialized because org.camunda.bpm.dmn.engine.impl.DmnDecisionResultImpl does not have a default constructor.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: