Separate the concerns by moving state machine related business logic from core orchestration functionality
Task Area
Development, Update, Enhancement
Assignee
Information
Prerequisites
Dependencies
Summary
The workflow itself and the each of MS Cosim component goes through different states such as READY, SYNCHRONIZING, RUNNING etc. during their execution lifecycle. On component level, the states are termed local states and on workflow level they are termed as global states.
There are business rules to govern the state transitions and their validity. Currently, the rules and the observers are mixed to some extent with other functionality. It should be moved to one place to separate the concerns and to have a single controller.
Summary
The workflow itself and the each of MS Cosim component goes through different states such as READY, SYNCHRONIZING, RUNNING etc. during their execution lifecycle. On component level, the states are termed local states and on workflow level they are termed as global states.
There are business rules to govern the state transitions and their validity. Currently, the rules and the observers are mixed to some extent with other functionality. It should be moved to one place to separate the concerns and to have a single controller.
Tasks
Requirements
Acceptance criteria