Objects
Field-level reference for the core Novigem objects. Use these when building or editing records in Novigem.
- Challenges: challenge types, timing, goal config, goal pace, completion rewards
- Rules: trigger config, actor modes, conditions, operators
- Badges: icon colors, status, recipients, manual assignment
- Ledger: entry fields, deduplication, immutability, reporting
- Leaderboard: period filters, ranking, tie-breaking, permissions
- Other objects: Challenge Progress and Badge Award
For calling the rule engine from Apex, see Apex API.
Other objects
These objects are written by Novigem only. You do not create or edit them, but they are useful for reports.
Challenge Progress (Challenge_Progress__c)
One record per user per challenge, and per period on a Recurring challenge. Created the first time a rule awards the user toward the challenge. On a Recurring challenge the nightly job also creates a zeroed record for the new period for everyone who took part before. Head-to-head battles have no progress records: they are scored from the ledger.
| Field | API name | Type | Description |
|---|---|---|---|
| User | User__c | Lookup (User) | The participant |
| Challenge | Challenge__c | Lookup (Challenge__c) | The challenge |
| Progress Value | Progress_Value__c | Number | Progress so far. Stops at the target |
| Target Value | Target_Value__c | Number | The challenge’s target, copied when the record is created |
| Is Completed | Is_Completed__c | Formula (Checkbox) | True when the target is above 0 and Progress Value has reached it |
| Progress Percent | Progress_Percent__c | Formula (Percent) | Progress Value divided by Target Value, capped at 100% |
| Remaining Value | Remaining_Value__c | Formula (Number) | How much is left to reach the target |
| Completed Date Time | Completed_Date_Time__c | DateTime | When the target was reached |
| Period Start Date Time / Period End Date Time | Period_Start_Date_Time__c / Period_End_Date_Time__c | DateTime | The period this record covers. Recurring challenges only, blank otherwise |
| Last Calculated Date Time | Last_Calculated_Date_Time__c | DateTime | When progress was last updated |
Badge Award (Badge_Award__c)
One record per badge earned.
| Field | API name | Type | Description |
|---|---|---|---|
| User | User__c | Lookup (User) | Who earned the badge |
| Badge | Badge__c | Lookup (Badge__c) | The badge |
| Challenge | Challenge__c | Lookup (Challenge__c) | The challenge or battle that awarded it. Blank on a manual award |
| Awarded Date Time | Awarded_Date_Time__c | DateTime | When it was awarded |
| Dedup Identifier | Dedup_Identifier__c | Text (Unique) | Prevents the same badge being awarded twice in the same context. See Badges: Deduplication |
Last updated on