Skip to Content
🔥 New in 1.12: streak challenges and custom badge art. Read the release notes
Technical ReferenceObjectsOverview

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.

FieldAPI nameTypeDescription
UserUser__cLookup (User)The participant
ChallengeChallenge__cLookup (Challenge__c)The challenge
Progress ValueProgress_Value__cNumberProgress so far. Stops at the target
Target ValueTarget_Value__cNumberThe challenge’s target, copied when the record is created
Is CompletedIs_Completed__cFormula (Checkbox)True when the target is above 0 and Progress Value has reached it
Progress PercentProgress_Percent__cFormula (Percent)Progress Value divided by Target Value, capped at 100%
Remaining ValueRemaining_Value__cFormula (Number)How much is left to reach the target
Completed Date TimeCompleted_Date_Time__cDateTimeWhen the target was reached
Period Start Date Time / Period End Date TimePeriod_Start_Date_Time__c / Period_End_Date_Time__cDateTimeThe period this record covers. Recurring challenges only, blank otherwise
Last Calculated Date TimeLast_Calculated_Date_Time__cDateTimeWhen progress was last updated

Badge Award (Badge_Award__c)

One record per badge earned.

FieldAPI nameTypeDescription
UserUser__cLookup (User)Who earned the badge
BadgeBadge__cLookup (Badge__c)The badge
ChallengeChallenge__cLookup (Challenge__c)The challenge or battle that awarded it. Blank on a manual award
Awarded Date TimeAwarded_Date_Time__cDateTimeWhen it was awarded
Dedup IdentifierDedup_Identifier__cText (Unique)Prevents the same badge being awarded twice in the same context. See Badges: Deduplication
Last updated on