Event on a dedicated queueHidden gem
A fifth eventQueue argument routes events to a named queue so heavy work does not block the default one. Pair it with a scheduled job that processes that queue.
// Business rule (after/async)
gs.eventQueue('x_rsa.sync.requested', current, current.getUniqueValue(), '', 'x_rsa_sync_queue');
// Script Action on x_rsa.sync.requested does the outbound call,
// records attempt count and next_retry, and re-queues on 429/5xx.