-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
---
-
---
-
-
-
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.
- is related to
-
KOGITO-7733 SWF Editor - Enable & customize toolbox
- Resolved
- relates to
-
KOGITO-9511 SWF Editor - Transition marshallers broken in Edit mode
- Resolved
-
KOGITO-9271 SWF Editor - Add default transition option to the toolbox
- Open
-
KOGITO-9272 SWF Editor - Add a tooltip to the toolbox general categories
- Open