Newer Version Available

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

WorkReward

Used to store reward codes tied to a Reward Fund. Reward Funds must have at least one WorkReward record.

Supported Calls

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

Special Access Rules

You must have the Reward perm enabled in order to use the Rewards feature, including WorkRewardFund and WorkReward.

Additional Considerations and Related Objects

WorkReward is a lookup to WorkRewardFund. WorkRewardFund must have at least one WorkReward record to be available for use. Each WorkBadge record with a RewardId indicates a reward badge given to a Recipient. The RecipientId represents the UserId of the recipient of a reward badge.

Fields

Field Name Details
Code
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
Represents a singe reward code tied to a RewardFundId.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Represents User ID of Owner of WorkReward record
RecipientId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Salesforce User ID for User associated with this WorkReward record.
RewardFundId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
Salesforce unique ID for WorkRewardFund record associated with WorkReward record.