Member Junction
    Preparing search index...

    Everything needed to deliver one job's completion notice.

    type ScheduledJobNotificationParams = {
        Channels: NotificationChannel[];
        Content: NotificationContent;
        ContextUser: UserInfo;
        Provider?: IMetadataProvider;
        RecipientUserID: string;
        ScheduledJobID?: string;
        ScheduledJobRunID?: string;
    }
    Index

    Properties

    The channels the JOB asked for. Acts as a ceiling, never an escalation.

    Subject/body/priority, formatted by the job's own plugin via FormatNotification.

    ContextUser: UserInfo

    The provider the job ran under. Threaded rather than resolved globally so a server hosting more than one connection notifies through the same one the job read its data from.

    RecipientUserID: string

    Who hears about it — the job's NotifyUser, or its owner.

    ScheduledJobID?: string

    Deep-link context, so clicking the notification lands on the job that produced it.

    ScheduledJobRunID?: string