Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5286

Cannot Call DMN from BPMN2

XMLWordPrintable

    • False
    • False
    • it was a typo in the namespace field. one Space to much.
    • Hide

      1) Create a DMN model

      2) Create A BPMN2 Workflow with a Businell Rule task calling the DMN Model.
      2.a) Set the Rule Language to DMN

      2.b) Set the namespace value to the namespce of the DMN Model

      2.c) Set the model name value to the model name value of the DMN Model

      2.d) Set the decision value of the a decision of the DMN Model

      3) Start the Workflow via REST (Swagger/Postman...)

       

       

      Show
      1) Create a DMN model 2) Create A BPMN2 Workflow with a Businell Rule task calling the DMN Model. 2.a) Set the Rule Language to DMN 2.b) Set the namespace value to the namespce of the DMN Model 2.c) Set the model name value to the model name value of the DMN Model 2.d) Set the decision value of the a decision of the DMN Model 3) Start the Workflow via REST (Swagger/Postman...)    
    • 2021 Week 22-24 (from May 31), 2021 Week 25-27 (from Jun 21), 2021 Week 28-30 (from Jul 12)

      i successfully can call drl rules with kogito 0.16 in a rule task
      i am unable to call a dmn rule.
      I always get 2021-06-06 16:03:16,738 ERROR [org.jbp.wor.ins.imp.WorkflowProcessInstanceImpl] (executor-thread-201) Unexpected error (id 3f11552b-654b-4157-a171-af743facaa0b) while executing node dmncall in process instance dd4462c3-c0eb-41c9-9868-29772c4ce64b: org.jbpm.workflow.instance.WorkflowRuntimeException: [personwf:dd4462c3-c0eb-41c9-9868-29772c4ce64b - dmncall:2] – DMN model 'reichmodel' not found with namespace ' https://kiegroup.org/dmn/_BE61FB5D-7DA5-400E-8527-8D0A0235B5E2' in the inherent DMNRuntime.
      I set the namespace param as in the dmn file and the model name as the modelname in the dmn file. I also tried with id of the model name.

        1. personwf.bpmn2
          18 kB
        2. reichmodel.dmn
          6 kB
        3. screenshot-1.png
          screenshot-1.png
          45 kB

              tdolphin-1 Tiago Dolphine (Inactive)
              thomasstuempfig Thomas Stümpfig (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: