Poll by timestamp¶
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[last_poll] |
The timestamp when the last poll was executed. |
[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 an external system polls Drupal for data that has changed since a given timestamp. The polling endpoint receives JSON with a name and timestamp field.
The [last_poll] token provides the timestamp of the previous poll. Use ECA actions to call addItem() on the event to return data items with their timestamps.
Fields¶
Event ID-
The event ID which needs to be the same that the polling uses to receive the data.
The event ID which needs to match the
namefield in the polling request's JSON payload.