Skip to main content

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:

  1. Open Usecase Details Menu:

    • Click on the Usecase on the map to open its details.
  2. Open the Hamburger Menu:

    • Click the Hamburger Menu icon (Hamburger icon) on the very left side of the Usecase Details Menu. This action opens an additional menu on the left.
  3. Toggle Generation Status:

    • Change the Usecase status by toggling the Generation Status.

    Codebricks Planner with opened Usecase Details with Usecase Management menu. Generation Status is highlighted.

tip

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:

  1. Open Usecase Details Menu:

    • Click on the Usecase on the map to open its details.
  2. Open the Hamburger Menu:

    • Click the Hamburger Menu icon (Hamburger icon) on the very left side of the Usecase Details Menu. This action opens an additional menu on the left.
  3. Click Delete Usecase:

    • Select the Delete Usecase button.

    Codebricks Planner with opened Usecase Details with Usecase Management menu. Delete Use Case button is highlighted.

warning

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.