Command Policy

The Command Policy is an Use Case type for writing. It is used to issue command from an API with a POST request.

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

Plan Command Policy

Add Command Policy 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 Policy (CA)
  • After selecting an aggregate, click the use case Command Policy (CA)
  • Your cursor turns into the CA icon
3
Place the Command Policy
  • Click on the Plan to place the Command Policy
  • The Command Policy Use Case will then appear on the Plan

Command Policy use case placed on the Plan

Sub Elements

The Command Policy consists of various sub elements. Click on the Command Policy 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.