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

SWF Editor - End Objects are not presented in the diagram

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      1. Using VsCode extension in edit mode, open a diagram with End node defined as object (workflow attached)
      2. Add some new node using the toolbox
      3. Look for the End object defined in the JSON 

      Actual Result

      • The End Object is presented in the diagram
      • The End Object is dropped from the JSON

      Expected Result

      • If there is and End object defined it shall be represented in the diagram
      • End node should be serialized back to JSON/YAML after actions are perfomed from the Diagram editor

      Show
      Using VsCode extension in edit mode, open a diagram with End node defined as object (workflow attached) Add some new node using the toolbox Look for the End object defined in the JSON  Actual Result The End Object is presented in the diagram The End Object is dropped from the JSON Expected Result If there is and End object defined it shall be represented in the diagram End node should be serialized back to JSON/YAML after actions are perfomed from the Diagram editor
    • ---
    • ---
    • 2023 Week 27-29 (from Jul 3), 2023 Week 30-32 (from Jul 24)

      End nodes can be Strings or Objects. When defined as objects we are relying on the optional boolean property "terminate" to show them in the diagram. When "terminate" property is false or is not defined the Edge and End node are not created in the diagram.

      It does not affect the read only mode of the editor. However,  in edit mode it is needed to represent this connection otherwise it won't be possible to marshall/serialize it back to JSON/YAML and the End object is lost/dropped in the process. 

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

              Created:
              Updated:
              Resolved: