WorkBadge

Represents information about who the badge was given to and which badge was given. A WorkBadge record is created for each recipient of a WorkBadgeDefinition.

Introduced in API version 28.0.

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

WorkBadge is a lookup to WorkThanks. Each WorkBadge record must derive a SourceId from WorkThanks. There can be multiple WorkBadge records tied to a single WorkThanks record.

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description:

    Required. Salesforce unique ID for the given WorkBadgeDefinition record given.

    This is a relationship field.

  • Relationship name: Definition

  • Relationship type: relationship

  • Refers to: WorkBadgeDefinition

  • Type: textarea
  • Properties: Nillable
  • Introduced: API version 32.0
  • Description: The description of the WorkBadgeDefinition.
  • Type: reference

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 32.0

  • Description:

    The ID of the badge giver. Can’t be the same as RecipientId.

    This is a relationship field.

  • Relationship name: Giver

  • Relationship type: relationship

  • Refers to: User

  • Type: url
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 32.0
  • Description: The URL of the badge image.
  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The time stamp that indicates when the current user last viewed a record that is related to this WorkBadge.
  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The time stamp that indicates when the current user last viewed this WorkBadge. If this value is null, this record might have been only referenced (LastReferencedDate) and not viewed.
  • Type: textarea
  • Properties: Nillable
  • Introduced: API version 32.0
  • Description: The message accompanying the thanks badge.
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the community that this WorkBadge is associated with. This field is available only if digital experiences is enabled in your org.
  • Relationship name: Network
  • Relationship type: relationship
  • Refers to: Network
  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description:

    Required. Salesforce unique ID for User who is the Recipient of Badge. Can’t be the same as GiverId

    This is a relationship field.

  • Relationship name: Recipient

  • Relationship type: relationship

  • Refers to: User

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Salesforce unique ID for Reward given with badge (if Reward Badge)
  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description:

    Salesforce unique ID for Thanks record referenced to this badge.

    This is a relationship field.

  • Relationship name: Source

  • Relationship type: masterdetail

  • Refers to: WorkThanks

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.