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

SWF Editor - Review Domain Rules to match Serverless Workflow Specification

XMLWordPrintable

    • 2023 Week 18-20 (from May 1), 2023 Week 21-23 (from May 22), 2023 Week 24-26 (from Jun 12)

      The goal of this task is to make Domain Initialization Rules compliant with the  Serverless Workflow Specification.
       

      Rules are applied when the user is adding States and connecting them. These rules are applied when a workflow is opened and when states and its connections are being created/edited from the state's toolbox.  Given the current connections of the state, only valid connections shall be presented in the toolbox.

      Rules

      Allowed transitions for reference from specification:

      • Event state
        • transition
        • onErrors
        • compensatedBy
      • Operation state
        • transition
        • onErrors
        • compensatedBy
      • Switch state
        • onErrors
        • compensatedBy
        • dataConditions -> transition
        • eventConditions -> transition
        • defaultConditions -> transition
      • Sleep state
        • transition
      • Parallel state
        • transition
        • onErrors
        • compensatedBy
      • Inject state
        • transition
        • compensatedBy
      • ForEach state
        • transition
        • onErrors
        • compensatedBy
      • Callback state
        • transition
        • onErrors
        • compensatedBy

       

      How to test:

      • In "Read Only Mode" using the text editor
        • Changes made in the rules must not affect workflow validation when editing from the text editor.
      • In "Edit Mode" using the toolbox
        • Check if only the allowed outgoing connections per transition type are being presented in the toolbox for each State in the SWF Specification.

      Acceptance criteria

      Domain Initialization Rules are applied for workflows. See details above.

       

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

                Created:
                Updated:
                Resolved: