Skip to content

Enhance debugging of rescheduled notifications #136

@pierre

Description

@pierre

When a notification is re-scheduled, a new notification entry is inserted and the current one archived in the history table, see:

if (scheduleAnalyticsJob(job, analyticsConfiguration)) {

Unfortunately, random UUID is used for the user token, so we cannot link the two entries:

jobQueue.recordFutureNotification(computeFutureNotificationTime(analyticsConfiguration), job, UUID.randomUUID(), accountRecordId, tenantRecordId);

We should either re-use the same token or use the futureUserToken of the original notification as the user token of the new one.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions