PS-Q05โ˜… Must-prepareTrade-off AdvancedPublic Sector Solutions#public-sector#business-rules

Eligibility logic: Business Rules Engine, Flow or Apex?

Your confidence:Not rated

Model answer

OptionGood forWeak for
Business Rules Engine (decision matrices, expression sets)Policy tables and calculations, effective-dated versions, Decision Explainer, ownership by analystsWorkflow and side effects
FlowActing on results: creating records, notifications, tasksLarge rule tables, explanation
ApexEdge cases, heavy computationAnalyst ownership, transparency, release speed

Recommendation: decisions in the BRE, called from OmniStudio or Flow; actions in Flow or Integration Procedures; Apex only where needed, wrapped as an invocable action. Every rule version gets a policy-owned test pack.

โœ” Key points to hit

โœ– Red-flag answers

  • Hard-coding income limits in Apex
  • Putting workflow in expression sets

โ†ช Follow-ups

How do you test rules before a policy change?

Run the new version against a regression pack of known cases and expected outputs, plus real anonymised applications, before its start date.

Who should own decision matrices?

Policy analysts with a change approval process; developers own the integration and deployment pipeline.