Build Checks
Build the configuration-validation Flow
Create one reusable autolaunched Flow that checks all Record Health Check configuration before you activate a new or changed Check. The packaged action reads active records and inactive drafts; it does not evaluate business records.
Before you start
Section titled “Before you start”- Assign Record Health Check Admin to the person who runs the Flow.
- Keep new Check Sets and Checks inactive until validation succeeds.
- Open Setup → Flows.
Create the Flow
Section titled “Create the Flow”- Select New Flow.
- Select Autolaunched Flow (No Trigger).
- Add an Action element.
- Search for and select Validate Record Health Check Configuration.
- Name the element
Validate configuration. - Add a Debug Details screen or temporary assignments that let you inspect these outputs:
| Output | What success looks like |
|---|---|
| Configuration Is Valid | True |
| Error Count | 0 |
| Warning Count | Review each warning before activation |
| Validation Report JSON | No unresolved error finding |
- Save the Flow as Validate Record Health Check Configuration.
You can keep this Flow inactive and use Debug when reviewing configuration. Activate it only if your organization has a reviewed way to run it outside Flow Builder.
Validate a change
Section titled “Validate a change”- Save the Check Set and Check with Active unchecked.
- Open this Flow and select Debug.
- Run it and review all four outputs.
- Correct every error in Custom Metadata.
- Run Debug again.
- Activate the Check Set and Check only after Configuration Is Valid is true and warnings have been reviewed.