Skip to content

Check whether a branch Account is ready for handoff

Create a Formula Check that applies to child Accounts and passes when the parent Account has a Billing City. If headquarters information is missing, the card links to the parent Account.

An Account formula can follow the Parent Account relationship, so Verify with a formula can review the headquarters field without SOQL or Apex. A Validation Rule on the branch would block a save on the wrong record; this Check points the user to the parent record that needs attention.

  • Confirm Parent Account and Billing City under Setup → Object Manager → Account → Fields & Relationships.
  • Confirm that the people using the card can read the child Account, Parent Account, and parent Billing City. They also need edit access to use the action successfully.
  • If headquarters is stored somewhere else, adapt the relationship instead of copying this formula.
  • Save new configuration inactive and validate it before activation.

You can add this Check to an existing Account Check Set. To create one, open Setup → Custom Metadata Types → Record Health Check Set → Manage Records, select New, and enter:

Salesforce fieldValue
LabelAccount Data Quality
Record Health Check Set NameAccount_Data_Quality
ObjectAccount
Card TitleAccount Data Quality
Card SubtitleConfirm the parent Account location before branch handoff.
When Checks RunWhen the user clicks Run
Summary DisplayShow below checks
Skipped ChecksShow each skipped check
ActiveUnchecked until validation succeeds

Open Setup → Custom Metadata Types → Record Health Check → Manage Records, select New, and enter:

Salesforce fieldValue
LabelParent Account Has Billing City
Record Health Check NameParent_Account_Has_Billing_City
Check SetAccount Data Quality, or your existing Account Check Set
Check TitleParent Account has Billing City
Evaluation TypeVerify with a formula
Pass ConditionNOT(ISBLANK(Parent.BillingCity))
Applies ToWhen a formula is true
Applies When (Formula)NOT(ISBLANK(ParentId))
Failure SeverityWarning
Message When FailedThe parent Account for {!record.Name fallback="this branch Account"} is missing Billing City.
Message When Unable To EvaluateUnable to read the parent Account Billing City.
Fix MessageOpen the parent Account and enter Billing City.
Action LabelEdit parent billing address
Action URL/lightning/r/Account/{!record.ParentId}/edit
Evaluation Order70
ActiveUnchecked until validation succeeds

The applicability formula skips top-level Accounts. The action URL uses the real Parent Account ID; it does not grant access to that Account.

  1. Run the configuration-validation Flow.
  2. Correct every error and review every warning.
  3. Set the Check and Check Set to Active only after validation succeeds.
  4. Add Record Health Check to the Account Lightning record page and select the Check Set.
  5. Assign Record Health Check Card User to the people testing the card.
Parent AccountParent Billing CityExpected result
PopulatedBlankWarning with the parent edit action
PopulatedPopulatedPass
BlankNot applicableSkipped

Also test the child Account as a user who cannot read the parent Billing City. The Check must not expose the hidden value. Selecting the action must still respect that user’s edit permissions.

The card evaluates the formula and compares its result with the configured expected value.

Result detailMeaning
PASSThe formula result satisfies the configured comparison.
FAILThe formula result does not satisfy the comparison, and the card shows the configured guidance.
SKIPPEDThe Check does not apply or a configured prerequisite did not pass.
FoundThe evaluated formula result for the current record.
ExpectedThe configured fixed value or evaluated expected formula.
What you seeCheck this first
A top-level Account is not skippedConfirm Applies To and the ParentId applicability formula
A child Account cannot be evaluatedConfirm access to Parent Account and parent Billing City
The action is missingConfirm Parent Account is populated and copy the Action URL exactly
The action opens the record but editing failsGrant appropriate record and field access; the link does not grant permission