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

FHIR enabled BPMN : JsonSchema exception with User Task

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.11.0.Final
    • BPMN Engine
    • False
    • False

      To support health-care related use cases (ie: BPM + Health ), kogito should support FHIR Resource Types as process variables in BPMN models.  One important consideration is that all (un)marshalling of FHIR resource types in Java requires use of the FhirContext  ....... jackson will not work.

      sepsisdetection-kogito is an example of a Kogito project with two BPMN models that make use of FHIR R4 resources as process variables and includes various User Tasks.

      The BPMN renders well in VSCode.

      However, upon start-up there is a problem with Json Schema generation involving the following class :

      org.kie.kogito.codegen.json.JsonSchemaGenerator.getInputOutput(JsonSchemaGenerator.java:138)

      The exception is eliminated when the User Tasks are replaced with a script task.

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              rhn-gps-jbride Jeffrey Bride
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: