Newer Version Available

This content describes an older version of this product. View Latest

WorkBadge

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

Supported Calls

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

Additional Considerations and Related Objects

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.

Fields

Field Name Details
DefinitionId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Required. Salesforce unique ID for the given WorkBadgeDefinition record given.
NetworkId
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 Salesforce Communities is enabled in your organization.
RecipientId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Required. Salesforce unique ID for User who is the Recipient of Badge.
RewardId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Salesforce unique ID for Reward given with badge (if Reward Badge)
SourceId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Salesforce unique ID for Thanks record referenced to this badge.