Command API

The Command API is an Use Case type for writing. It is used to issue command from an Event handler invocation.

If the command execution is successful this use case type always results in at least one event.

Plan Command API

Add Command API to Plan

1
Select an Aggregate
  • Click on the aggregate selection dropdown at the bottom of the left menu bar to either select an existing aggregate or choose a new one.
2
Select the use case Type Command API (CA)
  • After selecting an aggregate, click the use case Command API (CA)
  • Your cursor turns into the CA icon
3
Place the Command API
  • Click on the Plan to place the Command API
  • The Command API Use Case will then appear on the Plan

Command API use case placed on the Plan

Sub Elements

The Command API consists of various sub elements. Click on the Command API use case to open the sub element views. The details of the use case are planned in the sub elements.

Example

Types

The full list of sub element types


© 2024 Codebricks | All rights reserved.