Is it possible to make use of some {TRIGGER.LAST_EVENT_AT} or {TRIGGER.LAST_STATUS} macros inside a custom Media Type in order to implement throttling of notifications ?
i am basically fine with the fact that one "wild" trigger creates lot of events one after the other, but i want to throttle the rate of outgoing notifications.
in order to do that i need to retrieve some information from the previous trigger's event, and verify it was not too close to the current one, in which case i would discard the current one and not notify.
is this possible as of right now ? or should notifications have the same frequencies of actions, which in turn can only be throttled inside triggers ?
i am basically fine with the fact that one "wild" trigger creates lot of events one after the other, but i want to throttle the rate of outgoing notifications.
in order to do that i need to retrieve some information from the previous trigger's event, and verify it was not too close to the current one, in which case i would discard the current one and not notify.
is this possible as of right now ? or should notifications have the same frequencies of actions, which in turn can only be throttled inside triggers ?