OpenFin Workspace API
    Preparing search index...

    Function setReminder

    • Sets a reminder for a specific notification. Reminder must be a date in the future.

      import {setReminder} from 'openfin-notifications';

      // Set a reminder 1 minute from now
      setReminder('uniqueNotificationId', new Date(Date.now() + 60_000));

      // Set a reminder for a specific date
      setReminder('uniqueNotificationId', new Date('October 21, 2025 07:28:00'));

      Parameters

      • id: string

        ID of the notification to set the reminder for.

      • reminderDate: Date

        Reminder date.

      Returns Promise<boolean>

      True if the reminder was set successfully, false otherwise.