Salesforce

Post a notification with event

« Go Back
Information
Post a notification with event
000004063
Public
Product Selection
aiWare - aiWare
Article Details

Posting a notification with an event directly to a mailbox bypasses the mailbox's eventName and eventType filters, so it's a useful way to post user or admin notifications while still triggering any actions linked to the event.

Steps

  • Call notificationPost().
    mutation {
      notificationPost(
        input: {
          mailboxIds: String[]
          body: String
          contentType: String
          flags: [unseen, unread]
    # Event name this notification belongs to
          eventName: String
    # Event type this notification belongs to
          eventType: String
        }
      ) {
        id
        body
        contentType
        flags
        createdDateTime
      }
    }

    The notification appears in the app bar.

Additional Technical Documentation Information
Properties
1/28/2025 7:47 PM
1/28/2025 7:54 PM
1/28/2025 7:54 PM
Documentation
Documentation
000004063
Translation Information
English

Powered by