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

SWF Editor - State names may conflict when States are created from toolbox

XMLWordPrintable

    • 2023 Week 27-29 (from Jul 3), 2023 Week 30-32 (from Jul 24)

      In edit mode, when new nodes are created in senquence they are created with the default name "State" causing naming conflicts. In accordance with Serverless Workflow specification we cannot have states sharing the same name.

      In order to not break the worflow, at the moment of the creation of the new state, the availability of the name must be checked.

      Expected behavior:

      • If there is no other State with the default name "State", the State must be created with de default name.
      • If there is naming conflict, a numeric suffix must be added to the default name e.g. "State_1"
      • If there is naming conflict after the addition of the suffix, the numeric suffix must be incremented e.g. "State_2"

            handreyrc Handrey Cunha
            handreyrc Handrey Cunha
            Lubomir Terifaj Lubomir Terifaj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: