Rule Hook
OnAssetCreated
Back to IndexThis hook runs after commands have been applied to an Asset Actor from the create
message, but
before the OnAssetCommands hook. Commands returned will be applied to the payment
and changes are available to the the OnAssetCommands hook.
Type
{ hook: 'OnAssetCreated' asset: Asset}
Effects
Sends a message to another actor after the customer has been saved. Responses from the target actor is ignored.effects.common.sendMessage
Schedules a jobeffects.common.scheduleJob
Aborts the creation of the customer and returns the error to the caller.effects.common.validationError
Applies a command to the actor. Replace effects.customer.command.*
*
with the type of command you want to apply.