//_features //_install //_docs

CheckR

Salesforce package package v0.2.0 open source · MIT

Versioned checklists on Salesforce records, with save gates that hold a record until the work is done.

Write a checklist template once and attach it to any record you enable. A gate can block updates to that record until the required items are checked. Use it for implementation handoffs, readiness checks, compliance steps, QA gates and onboarding. It does not use the standard Task object.

CheckR 0.2.0 installs in production, sandboxes and scratch orgs. Until 1.0, the data model and Apex APIs may still change between minor versions.

// what it does

Templates per object

A template belongs to one object. Its versions move from Draft to Published to Historical, and a published version cannot be edited.

Instances snapshot a version

A checklist on a record copies the published version it was created from. A record can have several, shown in an accordion on the record page.

Items

Every item is a checkbox. An item can require an explanation, typed or chosen from a picklist. Users can add and remove ad hoc items, and only required template items count toward completion.

Ownership and assignment

An instance is owned through its standard owner field, and each item can be assigned to one user.

Append-only history

Audit and bypass events cannot be edited or deleted without a dedicated maintenance permission. CheckR never purges history on its own.

Reports

A CheckR Operations folder ships three reports and a dashboard: open checklists by template and age, recent audit activity, and gate bypasses by actor and object. See reports.

// save gates and bypass

Block the save, not the process

Gate rules on a template version block a record update while required items are incomplete. A rule watches any field change or specific field values. A record with a checklist is judged by that checklist’s version; a record without one is judged by the published version. Inserts are not gated.

Gates run in Apex before-save triggers, not Flow. You write a small trigger on each gated object that hands off to CheckR:

Bypass leaves a record

Bypass is off by default. A blocked save goes through only for a user with the CKR_BypassGate custom permission, or where the CheckR Settings switch is enabled for that user, profile or org. Both are meant for data loads and incident fixes, for a defined window. See gate bypass operations.

Every bypassed save writes a gate bypass event with the actor, record, rule, time and source. If the event cannot be written, the save is aborted. Retention and export are covered in records and retention.

CKR_AccountTrigger.trigger
trigger CKR_AccountTrigger on Account(before insert, before update) {
  CKR_ChecklistTriggerGateway.handleBefore(
    'Account',
    Trigger.oldMap,
    Trigger.newMap
  );
}

// getting started

CheckR installs as the unlocked package checkr. The current version is 0.2.0; each version’s package ID (04t) is listed in the changelog. Open the install link in the target org, or use the Salesforce CLI:

# install link (use test.salesforce.com for a sandbox)
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tfj000000p8pxAAA

# or with the CLI
$ sf package install --package 04tfj000000p8pxAAA --target-org <your-org-alias> \
    --security-type AdminsOnly --wait 20 --json

Installing for admins grants the System Administrator profile gate bypass and audit maintenance. Remove both right after installing; the installation guide shows how.

  1. Install the package

    Install the unlocked package checkr (no namespace) in a sandbox or scratch org, then remove the bypass and audit maintenance permissions from the System Administrator profile.

  2. Assign permission sets

    CKR_Admin for people who manage templates, CKR_User for people who work checklists. Gate bypass and audit maintenance are separate, temporary sets.

  3. Enable an object

    Add an active supported-object record, then a before-save trigger shim on the object that calls the CheckR gateway. Each shim needs its own test coverage in your org.

  4. Place the UI

    Add ckrChecklistViewer to the object’s record page and ckrChecklistCreateAction as a quick action.

  5. Build and publish a template

    Create a template, a draft version, its items and optional gate rules, then publish the version and attach checklists to records.

You need an Enterprise, Unlimited, Performance or Developer Edition sandbox or scratch org (Professional Edition is not supported), Lightning Experience, and a user who can install packages and assign permission sets. The documentation covers prerequisites, upgrades, uninstalling. The admin guide walks through setup chapter by chapter.

// feedback

The most useful feedback comes from sandbox evaluations: missing checklist or gate behavior, deployment friction, record-page usability, and gaps in permissions, auditability or reporting. Open an issue on the public repository. Report security issues as described in the security policy, not in a public issue.