OnOrderCreated
Back to IndexThis hook runs after commands have been applied to an Order Actor from the create
message, but
before the OnOrderCommands hook. Commands returned will be applied to the order
and changes are available to the the OnOrderCommands hook.
Type
Effects
Sends a message to another actor after the order has been saved. Responses from the target actor is ignored.effects.common.sendMessage
Calls a reactor method after the order has been saved. Responses from the reactor is ignored.effects.common.callReactor
Aborts the creation of the order and returns the error to the caller.effects.common.validationError
Applies a command to the actor. Replace effects.order.command.*
*
with the type of command you want to apply.