Skip to content

Recipient Selection

Available since: 2.3.0

Provided tokens

Token Description
[event] The event.
[event:machine_name] The machine name of the ECA event.
[session_user] The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account.

Fires when the DANSE (Drupal Advanced Notification System for Entities) module requests recipient selection through ECA. Use this to dynamically determine which users should receive a notification.

The [danse_recipients] token provides a list to which you can add user entities or user IDs. Each ECA model using this event automatically registers as a DANSE recipient selection plugin.

Fields

Event ID

The event ID to trigger this event directly.

The event ID to trigger this event directly. Must match the ID used by the DANSE recipient selection plugin dispatching the event.