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

SWF Editor - `States example` export is broken

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      1. Run sw-editor-kogito-app sample app.
      2. Select "States Examples" from dropdown menu
      3. Click Load JSON Content.
      4. Click Download the diagram button.
      5. [Optional] Copy and paste the content to the app to see the workflow's diagram.

      Actual result

      The downloaded json file is different from the original file:

      • "compensatedBy" property is not set
      • "transition" property is rewritten

      Expected Result:

      The same JSON file is produced by export feature as the original one.

      • The parameters order may be different.
      Show
      Run sw-editor-kogito-app sample app. Select "States Examples" from dropdown menu Alternatively you can paste the json content there from attached States Example.sw.json file. Click Load JSON Content. Click Download the diagram button. [Optional] Copy and paste the content to the app to see the workflow's diagram. Actual result The downloaded json file is different from the original file: "compensatedBy" property is not set "transition" property is rewritten Expected Result: The same JSON file is produced by export feature as the original one. The parameters order may be different.
    • ---
    • ---
    • 2023 Week 12-14 (from Mar 20)

      Export to json from States Example.sw.json source produces incorrect model.

      The issue is "compensatedBy" property is not set, but the export rewrites transition instead.

        1. current.svg
          61 kB
          Dmitrii Tikhomirov
        2. expected.svg
          61 kB
          Dmitrii Tikhomirov
        3. States Example.sw.json
          2 kB
          Kirill Gaevskii

              kgaevski@redhat.com Kirill Gaevskii
              dtikhomi@redhat.com Dmitrii Tikhomirov
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: