Action event
When an action is executed, an action event is appended to the event chain. This event includes the key of the executed action, the actor who performed it, and the corresponding response.
Properties
previous
previous
string
The hash of the previous event. This is included in the data of this event to form a hash chain.
timestamp
timestamp
date
The time when the action was executed
action
action
string
The key of the performed action
actor
actor
{ key: string; id?: string }
The key of the actor and the user ID that performed the action. Additional properties may be added.
response
response
any
The response that was given by the actor for this action.
skipped
skipped
boolean
If the validation for an event fails or if there is no state transition for the action
errors
errors
array of strings
Validation error messages that caused the event to be skipped. This property is only present in skipped events.
hash
hash
string
sha256 hash of the JSON serialized event using a deterministic JSON stringify function
Last updated
Was this helpful?