Usecase Status
Generation Status
In Codebricks, Usecases start with a Planned status by default. This status indicates that the Usecase has been defined but not yet generated. To proceed with the generation of the Usecase, its status must be changed to Ready.
Changing the Usecase Status
To update the status of a Usecase:
-
Open Usecase Details Menu:
- Click on the Usecase on the map to open its details.
-
Open the Hamburger Menu:
- Click the Hamburger Menu icon (
) on the very left side of the Usecase Details Menu. This action opens an additional menu on the left.
- Click the Hamburger Menu icon (
-
Toggle Generation Status:
- Change the Usecase status by toggling the Generation Status.
A Usecase's status can be identified by its border color on the event map:
- Blue: Planned
- Grey: Ready
Deleting a Usecase
To delete a Usecase:
-
Open Usecase Details Menu:
- Click on the Usecase on the map to open its details.
-
Open the Hamburger Menu:
- Click the Hamburger Menu icon (
) on the very left side of the Usecase Details Menu. This action opens an additional menu on the left.
- Click the Hamburger Menu icon (
-
Click Delete Usecase:
- Select the Delete Usecase button.
You cannot delete Usecases if they have events that are consumed by other Usecases or if they are Projection Usecases whose Readmodels are queried by other Usecases. This ensures that dependencies are not disrupted and the integrity of the system is maintained.