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

Issue displaying SWF Start form when there are more than one schemas defined

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      1. Checkout the example https://github.com/kiegroup/kogito-examples/tree/main/serverless-workflow-examples/serverless-workflow-expression-quarkus.
      2. Add one or more workflows with two or more schemas to the resources directory.
      3. Ensure you are running docker daemon as a non-root user.
      4. Run the application using `mvn clean package quarkus:dev` command.
      5. Go to Workflow Definitions in http://localhost:8080/q/dev/org.kie.kogito.kogito-quarkus-serverless-workflow-devui/workflowInstances.
      6. Click Start new workflow.

      Actual result

      Cloud events are open instead of Form.

      Expected result

      The Form is open.
      It is possible to create workflow instances using Form.

      Show
      Checkout the example https://github.com/kiegroup/kogito-examples/tree/main/serverless-workflow-examples/serverless-workflow-expression-quarkus . Add one or more workflows with two or more schemas to the resources directory. For example: jsongreet.sw.json , greeting.json Ensure you are running docker daemon as a non-root user. Run the application using `mvn clean package quarkus:dev` command. Go to Workflow Definitions in http://localhost:8080/q/dev/org.kie.kogito.kogito-quarkus-serverless-workflow-devui/workflowInstances . Click Start new workflow. Actual result Cloud events are open instead of Form. Expected result The Form is open. It is possible to create workflow instances using Form.
    • ---
    • ---
    • 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12)

      If the project contain two (or more) SWF that use different jsonSchemas as dataInputSchema the generated openapi documentation merges all the schemas in the workflowinputdata entry. That's a known issue in the runtime and they are working on it. We must update our Start WF Form UI when they fix that issue.

              ajaganat Ajay Jaganathan
              rh-ee-pefernan Pere Fernandez Perez
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: