Orchestrator - Register Order
This workflow is used for communicating the registration of an order within the order management process.
Workflow
- Constructing Registration Command: A registration command, formatted in JSON, is created.
- Context ID Extension: The command is augmented with a context ID if it exists, ensuring correlation between all commands and events.
- BProc Gateway Interaction: The workflow then communicates with the BProc gateway using the constructed command.
- Error Handling: If an error occurs, indicating a major failure, the workflow is terminated.
- Awaiting Order Registration: The workflow waits for the OrderRegistered event to be incorporated into Matrix42.
This workflow efficiently manages the registration of orders, ensuring accurate and timely processing within the order management system.