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

SWF Stunner Editor - Parameter named 'uuid' should be not null!

XMLWordPrintable

    • False
    • None
    • False
    • Hide

      The workflow file is missing the name attribute. So adding one would avoid this error message.

      Show
      The workflow file is missing the name attribute. So adding one would avoid this error message.
    • Hide

      Open a new JSON Editor with Stunner enabled and copy and paste the mentioned workflow.

      Show
      Open a new JSON Editor with Stunner enabled and copy and paste the mentioned workflow.
    • ---
    • ---
    • 2022 Week 26-28 (from Jun 27), 2022 Week 29-31 (from Jul 18)

      When using this workflow:

      https://raw.githubusercontent.com/ricardozanini/kogito-serverless-loanbroker/main/loanbroker-flow/src/main/resources/loanbroker.sw.json

      The SWF Stunner Editor can't render it and throws an exception:

      Error unmarshalling nodes.
      Parameter named 'uuid' should be not null!
      

      Goal

      Issue caused by missing `name` property in workflow. According to the spec this property is not mandatory, so it shouldn't cause any issues.

      The fix:

      1. According to the spec workflow's property ID or property KEY if property ID is null should be used as workflow's ID

      Not a Goal

      1. This is not a goal of this issue to provide visual or any other error handling to help use identify missing ID and KEY properties. For this goal issue KOGITO-7622 will be used.

            kgaevski@redhat.com Kirill Gaevskii
            rhn-support-zanini Ricardo Zanini Fernandes
            Dominik Hanak Dominik Hanak
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: