added

Introducing support for statuses in custom actions

We're thrilled to introduce a new feature to the Castle API—support for statuses in custom events. You can now include an optional status field in your custom events, with predefined values like $attempted, $succeeded, or $failed, mirroring our native actions.

This new attribute is fully integrated into the Castle Dashboard, allowing you to group, filter, and visualize historical data by status. You can also constrain policies based on specific statuses, offering more granular protection for custom interactions.

The update is fully backward compatible, so no SDK updates are necessary.

A custom event called “Order Cancellation” with three distinct statues.

A custom event called “Order Cancellation” with three distinct statues.