For the complete documentation index, see llms.txt. This page is also available as Markdown.

Scheduled Update Events

Events emitted as scheduled license updates are created, changed, simulated, and processed.

A scheduled update is a set of license changes that LicenseSpring applies at a scheduled hour.

See Scheduled License Updates for configuration details. Every event includes the scheduled_update object defined in event data objects.

A scheduled update can have the status pending, applied, cancelled, or failed. The cancellation event is spelled scheduled_update.canceled, with one l.

Event reference

scheduled_update.created

Sent when: a scheduled update is created, one at a time or in bulk (one event per update).

If a license already has a scheduled update for the same hour, the new changes are added to that update. This event uses the existing update's id.

scheduled_update.updated

Sent when: a scheduled update that is pending or failed is edited. The list of changes in the event is the full new list.

scheduled_update.canceled

Sent when: a pending scheduled update is canceled, one at a time or in bulk (one event per update).

Not emitted when: A scheduled update is deleted. Deletion emits no event.

scheduled_update.simulated

Sent when: someone previews a pending scheduled update (Simulate). Nothing is changed.

Event data: status shows the predicted result, applied or failed. Each change's error_message explains a predicted failure. Neither is saved.

scheduled_update.will_process_1_day

Sent when: a pending scheduled update is due within the next 24 hours. LicenseSpring checks every hour, so this event is sent every hour until the update is applied, up to 24 times for the same update. An update created less than an hour before it is due may get none.

Event data: scheduled_update, plus future_scheduled_update with the predicted status, applied or failed, and errors, a list of error messages.

scheduled_update.processed

Sent when: LicenseSpring tried to apply a scheduled update, at its scheduled hour or when someone applies it now or retries a failed one. Check status: applied if every change was applied, failed if any change failed. A failed update changes nothing: all its changes are rolled back, and the failing change has an error_message.

Not emitted when: A retry of a failed update fails again.

Last updated

Was this helpful?