Industries public sector setup

From PranavNagrecha/AwesomeSalesforceSkills · View interactive version

Industries public sector setup is an AI agent skill from the GitHub repository PranavNagrecha/AwesomeSalesforceSkills. Public Sector Solutions (PSS) setup: licensing, permits, inspections, benefits, case management for government, citizen portals, and grant management. NOT for standard Service Cloud cases — use admin/case-management-setup. NOT for a plain portal site — use admin/experience-cloud-site-setup.

How to use this skill

Skill file

Industries Public Sector Setup

Activate when configuring Salesforce Public Sector Solutions (PSS) for a government agency: issuing licenses or permits, routing citizen cases, managing benefit enrollments, running inspections, or standing up grant programs. PSS is not a single feature — it is a licensed industry bundle that layers on top of Service Cloud, Experience Cloud, and OmniStudio.

Before Starting

Core Concepts

PSS-specific data model

"The Public Sector Solutions data models provide objects and fields to support licensing and permitting, inspections and assessments, case and program management, benefit management, grantmaking, and other features for your organization." All of it is standard. You do NOT recreate these with custom objects; you configure the shipped ones.

OmniStudio is mandatory

PSS intake, decisioning, and citizen journeys ship as OmniScripts, Integration Procedures, and DataRaptors. Admin work that would be Flow-first in Sales/Service is Omni-first in PSS. Do not replace a shipped OmniScript with a Flow unless you have a specific reason — you will inherit upgrade drift.

Multi-jurisdiction sharing

Public-sector agencies almost always have nested jurisdictional ownership (state → county → municipal). PSS uses a combination of Role Hierarchy, Account hierarchies on Account with record type Agency, and criteria-based sharing on regulatory objects. Build the org with jurisdiction in mind before loading the first case — retrofitting is painful.

Common Patterns

Pattern: License application with fee and approval

Use the shipped BusinessLicenseApplication object (or IndividualApplication for an individual applicant), Approval Process, and payment integration. Drive intake through OmniScript → DataRaptor → Apex invocable that creates the application record; the granted artefact is a BusinessLicense, typed by RegulatoryAuthorizationType. Fees flow through a Payment Gateway external credential, not custom Apex HTTP callouts.

Pattern: Inspections with offline-capable mobile

Inspectors need Field Service Mobile or the PSS Inspector mobile experience. Inspections use the shipped visit/assessment model — InspectionType classifies them, Visit records the site call, AssessmentTask and AssessmentIndicatorDefinition carry the checklist, AssessmentIndValue the captured values. Findings become RegulatoryCodeViolation (classified by ViolationType), and follow-up is a ViolationEnforcementAction. Use Field Service scheduling if dispatch is needed; plain task assignments if routes are self-planned.

Pattern: Benefit enrollment with eligibility decisioning

IndividualApplication → BenefitAssignment → BenefitDisbursement, with Benefit and BenefitType as the catalogue and BenefitSchedule / BenefitScheduleAssignment setting the disbursement cadence. Eligibility rules ship as a Business Rules Engine (BRE) expression set — do NOT hand-code eligibility in Apex or Flow; BRE is auditable, versioned, and expected by the shipped OmniScripts.

Decision Guidance

| Situation | Recommended Approach | Reason |

|---|---|---|

| License or permit with fee | BusinessLicenseApplication + Approval + BRE | Shipped flow; avoids custom rebuild |

| Citizen case intake | OmniScript + Case record type | Matches PSS intake templates |

| Eligibility scoring | Business Rules Engine (BRE) | Auditable, versioned, shipped expectation |

| Multi-agency data partitioning | Role hierarchy + criteria sharing on Agency Account | Matches jurisdictional reality |

| Inspector field work | Field Service + InspectionType / Visit / AssessmentTask | Offline-capable, dispatch ready |

Recommended Workflow

  1. Confirm PSS license is active and all dependent permission set groups (PublicSectorAccess, OmniStudioUser) are available.
  2. Activate the PSS-required objects via Setup → Public Sector → Feature Settings before any data load.
  3. Build or clone the shipped OmniScripts for the intake channels actually in use; deactivate the ones you do not use to reduce upgrade noise.
  4. Configure Role Hierarchy and Agency account hierarchy BEFORE loading any case, license, or party data — these drive all downstream sharing.
  5. Stand up the citizen portal with guest user hardened per Experience Cloud guest security guide; wire OmniScripts to the portal pages.
  6. Load reference data (RegulatoryCode, RegulatoryAuthority, RegulatoryAuthorizationType, BusinessType, InspectionType, ViolationType, BenefitType) before transactional data.
  7. Smoke test a citizen journey end-to-end (intake → approval → payment → disbursement or issuance) before go-live.

Review Checklist

Salesforce-Specific Gotchas

  1. PSS shipped OmniScripts get overwritten on upgrade. Customizing them in place means upgrades silently revert your changes. Always clone and use versioning.
  2. Business Rules Engine is licensed separately in some editions. Confirm BRE entitlement before designing eligibility around it.
  3. Agency Account record type is mandatory. Converting existing Account records to use the Agency hierarchy after the fact triggers a sharing recalculation that can take hours on large orgs.

Output Artifacts

| Artifact | Description |

|---|---|

| PSS activation runbook | Ordered steps from license confirmation to go-live |

| Jurisdiction model diagram | Role + Account hierarchy matched to the agency's statutory structure |

| Intake OmniScript catalog | List of shipped OmniScripts in use vs deactivated |

| BRE expression set inventory | Eligibility rules by program |

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.