Edison Township, NJ · Salesforce Public Sector Solutions

Edison Permitting Data Model

One data model for all five scenarios in the NJ Residential Permit Lifecycle swimlanes: home addition or deck, Zoning Board variance or appeal, work without a permit, water heater or furnace replacement, and block party or special event. It reuses PSS standard objects wherever they exist. It adds only four custom objects, and each is justified below.

5scenarios on one model
6application record types
4custom objects, all children of standard ones
0schema changes from Edison's open questions

How the model is built

These six decisions shape everything else. If you remember only this section, you can rebuild the rest.

1. The property is the hub

The property is the standard Location object, keyed by Block, Lot and Qualifier from GIS. PSS Visit already points at Location, so no custom Parcel object is needed.

Applications, permits, inspections, complaints and conditions all carry Property__c. That makes "saved to property history" a related list, not a report.

2. A project is a Case

A Case with record type Permit Project groups the zoning, site improvement, construction and related permit applications for one piece of work. It uses the standard IndividualApplication.ApplicationCaseId field.

The "prior approvals, conditions and all fees satisfied?" gate only has to read one Case.

3. The request and the issued permit are separate records

IndividualApplication is the request and its review. BusinessLicense is what gets issued: permits and certificates (CO, TCO, Certificate of Approval).

An application ends at Issued or Denied. The permit then carries the inspection and certificate phase, plus the 12 month and 6 month validity rules.

4. Two statuses for two audiences

Status is what the applicant sees in the portal. InternalStatus is a standard field for staff only.

This implements the swimlane rule that internal statuses and departmental comments are never shown to applicants.

5. Rules are data, not code

These all live in Business Rules Engine decision matrices that township admins edit:

  • document checklists
  • fees
  • related permits
  • required inspections
  • certificate type
  • work classification
  • the event approval matrix
  • clock lengths

Most of Edison's open questions become rows in a matrix, not schema changes.

6. Custom only where PSS has nothing

There are four custom objects: statutory clocks, approval conditions, a fee ledger and plan review comments. Each is a child of a standard object and none duplicates one.

Decisions are records, documents are output. ApplicationDecision records the authorized official. A generated PDF never counts as an approval.

Big picture

The spine runs property, then project, then application, then permit, then inspections and certificate. Enforcement and hearings branch off the same property.

Standard PSS, used as is Standard, with added fields or values Custom object

Domain map

Plain-language name on top, Salesforce object underneath.

flowchart LR
  LOC["Property
Location"]:::ext PRJ["Project
Case"]:::ext APP["Application
IndividualApplication"]:::ext DOC["Documents
DocumentChecklistItem"]:::std REV["Reviews
ApplicationReview"]:::ext CMT["Review comments
Review_Comment__c"]:::cus DEC["Decision
ApplicationDecision"]:::std FEE["Fees
RegulatoryTrxnFee"]:::ext LED["Payments and escrow
Fee_Transaction__c"]:::cus CON["Conditions
Approval_Condition__c"]:::cus CLK["Statutory clocks
Regulatory_Clock__c"]:::cus PER["Permit
BusinessLicense"]:::ext CER["Certificate CO, TCO, CA
BusinessLicense"]:::ext VIS["Inspection
Visit"]:::ext HEAR["Hearing or appeal
CaseProceeding"]:::ext CMP["Complaint
PublicComplaint"]:::ext ENF["Enforcement
Case"]:::ext VIO["Violation
RegulatoryCodeViolation"]:::ext ACT["NOV, Stop Work, Penalty
ViolationEnforcementAction"]:::ext LOC --> PRJ --> APP APP --> DOC APP --> REV --> CMT APP --> DEC APP --> FEE --> LED APP --> CON APP -->|issues| PER --> VIS PER --> CER APP -->|variance or appeal| HEAR CLK -.-> APP LOC --> ENF CMP --> ENF --> VIO --> ACT ENF -->|appeal or court| HEAR ENF -.->|corrective permit| PRJ classDef std fill:#eaf2fc,stroke:#8fb3dd,color:#1b2430 classDef ext fill:#e7f6f3,stroke:#86cbbb,color:#1b2430 classDef cus fill:#fff6e5,stroke:#e3b866,color:#1b2430

Entity relationship diagrams

There are seven diagrams, one per area. Custom objects are shaded amber. Relationship labels are the lookup field names. Only fields that matter to Edison's flows are shown.

A. Property, parties and the application spine

Used by all five scenarios.

erDiagram
  Location ||--o{ Case : "Property__c"
  Location ||--o{ IndividualApplication : "Property__c"
  Location ||--o{ BusinessLicense : "Property__c"
  Case ||--o{ IndividualApplication : "ApplicationCaseId"
  RegulatoryAuthorizationType ||--o{ IndividualApplication : "LicenseTypeId"
  RegulatoryAuthority ||--o{ RegulatoryAuthorizationType : "IssuingDepartmentId"
  IndividualApplication ||--o{ PublicApplicationParticipant : "ApplicationId"
  Account ||--o{ PublicApplicationParticipant : "ParticipantId"
  IndividualApplication |o--o| BusinessLicense : "LicensePermitNameId"
  Account ||--o{ BusinessLicense : "AccountId"
  Location {
    string GIS_Parcel_Id__c UK "external id"
    string Block__c
    string Lot__c
    string Qualifier__c
    string Zone_District__c
    string Owner_Name__c "tax records"
  }
  Case {
    recordtype RecordType "Permit Project, Code Enforcement"
    lookup Property__c FK
    lookup ParentId FK "project to enforcement case"
  }
  IndividualApplication {
    recordtype RecordType "6 types, see catalog"
    picklist Status "portal facing"
    picklist InternalStatus "staff only"
    datetime RequirementsCompleteDate "starts decision clock"
    picklist Work_Class__c "Maintenance, Minor, Emergency, Standard"
    multipicklist Scope_Subcodes__c
    checkbox Adds_Area_Or_Height__c "CO or CA"
    lookup ParentApplicationId FK "amendments"
  }
  BusinessLicense {
    recordtype RecordType "Permit, Certificate, Contractor Credential"
    picklist Status
    lookup Parent_Permit__c FK "certificate to permit"
    datetime PeriodEnd
  }
  PublicApplicationParticipant {
    picklist Role "Owner, Contractor, Architect, Agent, Owner Builder"
  }
  RegulatoryAuthorizationType {
    picklist RegulatoryAuthCategory "License or Permit"
  }

B. Review, decision and documents

Zoning, engineering and each subcode review get one row per review cycle, and each comment is answered separately. The decision is its own record, signed by the authorized official.

erDiagram
  IndividualApplication ||--o{ DocumentChecklistItem : "ParentRecordId"
  DocumentType ||--o{ DocumentChecklistItem : "DocumentTypeId"
  IndividualApplication ||--o{ ApplicationReview : "ApplicationId"
  ApplicationReview ||--o{ Review_Comment__c : "Application_Review__c"
  RegulatoryCode |o--o{ Review_Comment__c : "Code_Section__c"
  IndividualApplication ||--o{ ApplicationDecision : "ApplicationId"
  ApplicationReview {
    picklist Type "Zoning, Engineering, subcode, event dept"
    picklist ApplicationRecommendation "Approve, Corrections, Deny"
    checkbox IsRequired "blocks issuance"
    number Cycle__c "review round"
    lookup ReviewedById FK
  }
  Review_Comment__c {
    textarea Comment__c
    textarea Applicant_Response__c
    picklist Status__c "Open, Responded, Resolved"
  }
  ApplicationDecision {
    picklist ApplicationDecision "Approved, Conditions, Denied"
    lookup DecisionAuthorityId FK "authorized official"
  }
  DocumentChecklistItem {
    picklist Status "Pending, Accepted, Rejected"
    lookup ValidatedById FK
  }

C. Conditions and statutory clocks

Conditions carry a stage that drives the permit and certificate gates, and they stay on the property until cleared. Clocks hang off whichever record the deadline belongs to. An extension is a new clock row that supersedes the old one.

erDiagram
  IndividualApplication ||--o{ Approval_Condition__c : "Application__c"
  Location ||--o{ Approval_Condition__c : "Property__c"
  RegulatoryAuthority ||--o{ Approval_Condition__c : "Department__c"
  IndividualApplication ||--o{ Regulatory_Clock__c : "Application__c"
  BusinessLicense ||--o{ Regulatory_Clock__c : "Permit__c"
  Visit ||--o{ Regulatory_Clock__c : "Visit__c"
  CaseProceeding ||--o{ Regulatory_Clock__c : "Proceeding__c"
  RegulatoryCodeViolation ||--o{ Regulatory_Clock__c : "Violation__c"
  Approval_Condition__c {
    picklist Stage__c "Before Permit, Construction, Certificate, Event"
    picklist Status__c "Open, Satisfied, Waived"
    picklist Source__c
  }
  Regulatory_Clock__c {
    picklist Clock_Type__c
    picklist Day_Basis__c "Business, Calendar, Hours"
    datetime Due__c
    picklist Status__c "Running, Paused, Met, Missed"
    lookup Supersedes__c FK "extension history"
  }

D. Fees, payments and escrow

One fee header per stage, with line items from the fee rules. All money movement goes through one ledger: payments, refunds, escrow draws and waivers.

erDiagram
  IndividualApplication ||--o{ RegulatoryTrxnFee : "ParentRecordId"
  ViolationEnforcementAction ||--o{ RegulatoryTrxnFee : "ParentRecordId (penalty)"
  RegulatoryTrxnFee ||--|{ RegulatoryTrxnFeeItem : "RegulatoryTrxnFeeId"
  RegulatoryTrxnFee ||--o{ Fee_Transaction__c : "Regulatory_Fee__c"
  RegulatoryTrxnFee {
    picklist Fee_Stage__c "Zoning, Plan Review, Permit, Engineering, Escrow, Event Deposit, Penalty"
    picklist Status "DUE, PAID, PARTIALLY_PAID, REFUNDED"
    datetime DueDate
    currency Balance__c "from ledger"
  }
  RegulatoryTrxnFeeItem {
    currency FeeAmount
    string CalculationInfo "rule that produced it"
  }
  Fee_Transaction__c {
    picklist Type__c "Payment, Refund, Escrow Draw, Escrow Refund, Adjustment, Waiver"
    currency Amount__c
    picklist Method__c "Card, ACH, Check, Cash, Money Order"
    string Receipt_Number__c
    lookup Approved_By__c FK "adjustments, waivers, refunds"
  }

E. Inspections and the field app

When a permit is issued, one Unscheduled Visit is created for each required inspection, in the required order. The applicant's request moves it to Planned and starts the 3 business day clock.

erDiagram
  BusinessLicense ||--o{ Visit : "ContextId"
  Location ||--o{ Visit : "PlaceId, LocationId"
  InspectionType ||--o{ Visit : "VisitTypeId"
  Visit ||--o{ AssessmentTask : "ParentId"
  AssessmentTaskDefinition ||--o{ AssessmentTask : "AssessmentTaskDefinitionId"
  AssessmentTask ||--o{ InspectionAssessmentInd : "AssessmentTaskId"
  AssessmentIndicatorDefinition ||--o{ InspectionAssessmentInd : "AssessmentIndDefinitionId"
  AssessmentTask ||--o{ AssessmentTaskContentDocument : "photos"
  Visit ||--o{ Regulatory_Clock__c : "Visit__c"
  Visit {
    picklist Status "Unscheduled, Planned, Completed, Abandoned"
    picklist Result__c "Passed, Failed, Partial, No Access"
    number Sequence__c "required order"
    datetime Requested_On__c "starts 3 day clock"
    lookup ParentVisitId FK "reinspection of"
  }
  InspectionAssessmentInd {
    picklist Result "Pass, Fail, NA, Issue"
  }

F. Zoning Board: variance or appeal

The Board application is an IndividualApplication. Each hearing and each court appeal is a CaseProceeding. Notice evidence is tracked as checklist documents on the proceeding.

erDiagram
  IndividualApplication ||--o{ CaseProceeding : "ApplicationId"
  CaseProceeding ||--o{ CaseProceedingParticipant : "CaseProceedingId"
  CaseProceeding ||--o{ DocumentChecklistItem : "ParentRecordId"
  CaseProceeding ||--o{ Regulatory_Clock__c : "Proceeding__c"
  IndividualApplication ||--o{ ApplicationDecision : "ApplicationId"
  IndividualApplication ||--o{ Approval_Condition__c : "Application__c"
  IndividualApplication {
    picklist Board_Application_Type__c "c Variance, d Variance, Appeal of Zoning Officer"
    datetime RequirementsCompleteDate "starts 120 day clock"
  }
  CaseProceeding {
    picklist Type "Board Proceeding, Court Action"
    picklist SubType "Review Hearing, Appeal"
    picklist Outcome__c "Granted, Denied, Upheld, Reversed, Remanded, Modified"
    date Resolution_Date__c
    date Publication_Date__c "starts 45 day appeal clock"
    lookup RelatedCaseProceedingId FK "court appeal of hearing"
  }
  DocumentChecklistItem {
    string Name "200 ft list, proof of service, publication affidavit, resolution"
  }

G. Code enforcement: work without a permit

The complaint and the enforcement case are separate records, linked by the standard junction. Violations and enforcement actions use PSS objects with added values for Stop Work Order and Court Referral.

erDiagram
  PublicComplaint ||--o{ ComplaintParticipant : "PublicComplaintId"
  PublicComplaint ||--o{ ComplaintCase : "PublicComplaintId"
  Case ||--o{ ComplaintCase : "CaseId"
  Location ||--o{ Case : "Property__c"
  Case ||--o{ Visit : "ContextId"
  Visit ||--o{ RegulatoryCodeViolation : "InspectionId"
  ViolationType ||--o{ RegulatoryCodeViolation : "ViolationTypeId"
  RegulatoryCode ||--o{ RegulatoryCodeViolation : "RegulatoryCodeId"
  RegulatoryCodeViolation ||--o{ ViolationEnforcementAction : "ViolationId"
  ViolationEnforcementAction ||--o{ RegulatoryTrxnFee : "ParentRecordId"
  Case ||--o{ CaseProceeding : "CaseId"
  RegulatoryCodeViolation ||--o{ Regulatory_Clock__c : "Violation__c"
  PublicComplaint {
    picklist Intake_Channel__c "Portal, Phone, Email, Walk in, Staff Referral"
    picklist ComplaintType "Work Without a Permit"
    checkbox IsReporterConfidential
    lookup Property__c FK
  }
  RegulatoryCodeViolation {
    picklist Status "Open, Resolved"
    datetime ComplianceDueDate
    lookup Enforcement_Case__c FK
  }
  ViolationEnforcementAction {
    picklist Type "Notice of Violation, Stop Work Order, Civil Penalty, Court Referral"
    picklist Status "Open, Resolved"
    lookup Issued_By__c FK "Construction Official"
  }
  CaseProceeding {
    picklist Type "Board Proceeding, Court Action"
    picklist Outcome__c "Upheld, Partly Upheld, Modified, Dismissed, Remanded"
  }

Object catalog

Every object in the model, what it holds for Edison, and the scenarios that use it: 1 addition or deck, 2 Zoning Board, 3 work without a permit, 4 water heater or furnace, 5 special event.

StandardStandard + fieldsCustom
ObjectKindWhat it holds for EdisonScenarios
Property and parties
LocationStandard + fieldsThe property or parcel. Block, Lot, Qualifier, zone district and owner of record come from the GIS and tax feeds. Everything on the property links here.
AddressStandardStreet address of a Location; also Visit.AddressId.
Account / ContactStandardHomeowners (person accounts), contractor, architect and engineering firms, portal users.
PublicApplicationParticipantStandard + valuesWho is on an application and in what role: owner, contractor, architect, design professional, authorized agent, owner-builder.
Configuration (admin maintained)
RegulatoryAuthorityStandardDepartments: Zoning, Construction, Engineering, Zoning Board, Code Enforcement, Clerk, Police, Fire Prevention, Health, Public Works.
RegulatoryAuthorizationTypeStandardCatalog of everything Edison issues or checks: zoning permit, construction permit, site improvement permit, variance, appeal, event permit, related permits, CO, TCO, Certificate of Approval, contractor credentials (HIC, electrical, master plumber, HVACR).
DocumentTypeStandardSurvey, drawings, FAR sheet, F100, F100-2, F120, F130, F140, F145, F370, insurance, neighbor consent, outside agency approval.
InspectionTypeStandardFooting, framing, rough electrical, mechanical final, final building, tent, food vendor and others.
AssessmentTaskDefinition, AssessmentIndicatorDefinitionStandardInspection checklists and their questions, e.g. venting, relief valve, F370 check for a water heater.
RegulatoryCodeStandardSections of the NJ UCC (N.J.A.C. 5:23), the Edison zoning ordinance and the MLUL, cited in reviews and violations.
ViolationTypeStandard + valuesWork without a permit, work beyond permit scope, failure to file after notice.
ActionPlanTemplateStandardStaff task lists, e.g. barricade service request (deliver, place, collect) and enforcement routines.
Business Rules EngineStandardExpression sets and decision matrices for every configurable rule. See Rules.
BusinessHours, HolidayStandardEdison working days and holidays for business day clock math (BusinessHours.add).
Applications and review
CaseStandard + record typesPermit Project: groups a project's applications. Code Enforcement: the work without a permit case. A corrective permit's project Case has ParentId set to the enforcement Case.
IndividualApplicationStandard + record types + fieldsEvery application, with six record types: Zoning, Site Improvement, Construction, Zoning Board, Special Event, Related Permit. Amendments are child applications through ParentApplicationId.
DocumentChecklistItemStandardEach required upload on an application, hearing or violation, with accepted or rejected status and the validating user.
ApplicationReviewStandard + fieldsOne row per reviewer per cycle: zoning, engineering, each subcode, each event department. IsRequired marks reviews that block issuance. Licence check needed, see Decisions.
Review_Comment__cCustomEach plan review comment, the code section, and the applicant's response.
ApplicationDecisionStandardThe authorized official's decision, recorded separately from any generated document.
Approval_Condition__cCustomConditions from zoning, the Board resolution, Engineering or event departments, sorted by stage and kept on the property until cleared.
Regulatory_Clock__cCustomEvery statutory deadline: 20 and 7 business day decisions, 3 day inspections, 45 and 120 day Board clocks, appeal windows, filing after notice, compliance deadlines, abandonment and validity.
Fees
RegulatoryTrxnFee, RegulatoryTrxnFeeItemStandard + fieldsOne fee per stage (zoning, plan review, permit, engineering, escrow, event deposit, police detail, penalty) with calculated line items.
Fee_Transaction__cCustomThe money ledger: online and offline payments, receipts, refunds, escrow draws, waivers and adjustments with the approving official.
Permits, inspections and certificates
BusinessLicenseStandard + fieldsIssued permits (zoning, construction, site improvement, event, related) and certificates (CO, TCO, CA) linked to the permit. Also holds contractor credentials on firm Accounts for licence checks.
VisitStandard + fieldsEach inspection or site visit, with result, order and reinspection link.
AssessmentTask, InspectionAssessmentInd, AssessmentTaskContentDocumentStandardChecklist results and photos captured in the inspector field app.
ActionPlanStandardRunning instance of a template on an application or case, e.g. barricade delivery.
Hearings, enforcement and appeals
CaseProceeding, CaseProceedingParticipantStandard + fieldsZoning Board hearing, Superior Court appeal, County Construction Board of Appeals, Municipal Court. Licence check needed.
PublicComplaint, ComplaintParticipant, ComplaintCaseStandard + fieldsComplaint intake from any channel, the confidential complainant, and the link to the enforcement Case.
RegulatoryCodeViolationStandard + fieldsThe violation found on site, tied to the code section and the inspection that found it.
ViolationEnforcementActionStandard + valuesNotice of Violation, Stop Work Order, civil penalty, court referral. Penalties hang a RegulatoryTrxnFee off this record.

The four custom objects

Each one is a child of a standard object, and each fills a gap PSS does not cover. None of them duplicates a standard object.

Custom Regulatory_Clock__c

Clock_Type__cCompleteness, Decision, Resubmission Decision, Inspection Scheduling, Filing After Notice, Board Completeness, Board Decision, Resolution, Appeal Window, Compliance, Abandonment, Work Start, Work Suspension
Day_Basis__cBusiness Days, Calendar Days, Hours
Start__c, Due__cDue date computed with BusinessHours.add when the basis is business days
Status__cRunning, Paused, Met, Missed, Superseded, Cancelled
Paused_Since__cSet while the applicant owes something
Supersedes__cSelf lookup. An extension is a new row with Extension_Reason__c, Approved_By__c, Applicant_Consent__c
Parent lookupsApplication__c, Permit__c, Visit__c, Proceeding__c, Violation__c
Why custom: PSS has no deadline object. Entitlements only run on Case and WorkOrder, but these clocks sit on applications, inspections, hearings and violations. They also mix business days, calendar days and hours, and extensions need recorded consent. Lengths come from the Clock Rules matrix, not from code.

Custom Approval_Condition__c

Application__cThe application that imposed it
Property__cLocation, so the condition stays on the property record
Department__cRegulatoryAuthority that owns it
Source__cZoning Officer, Board Resolution, Engineering, Subcode, Event Department
Stage__cBefore Permit, During Construction, Before Certificate, Before Event
Condition__cLong text of the condition
Status__cOpen, Satisfied, Waived, plus Cleared_By__c and Cleared_On__c
Why custom: PSS has requirement objects for grants (FundingAwardRequirement) but nothing for permit conditions. Stage__c drives the two gates: no open Before Permit condition at issuance, and no open Before Certificate condition at CO.

Custom Fee_Transaction__c

Regulatory_Fee__cLookup to RegulatoryTrxnFee
Type__cPayment, Refund, Escrow Draw, Escrow Refund, Adjustment, Waiver
Amount__cCurrency
Method__cCard, ACH, Check, Cash, Money Order
Processor_Reference__cPayment gateway id for online payments
Receipt_Number__cIssued for online and counter payments
Recorded_By__c, Approved_By__cStaff who took it, official who approved an adjustment, waiver or refund
Reconciled__cFinance reconciliation flag
Why custom: RegulatoryTrxnFee holds what is owed and its status. It has no ledger for partial payments, counter receipts, escrow draws or refunds. Payment processor integrations are a standard reason to go custom.

Custom Review_Comment__c

Application_Review__cThe subcode or department review that raised it
Application__cFor the portal list of open comments
Code_Section__cLookup to RegulatoryCode
Sheet__cDrawing sheet or page reference
Comment__cReviewer comment
Applicant_Response__cResponse on resubmission
Status__cOpen, Responded, Resolved
Why custom: ApplicationReview has a single comment field. The swimlane requires "respond to each comment" across resubmission cycles, and repeating items belong in rows, not text blobs.

Fields and values added to standard objects

These extend standard objects in place. No standard object is cloned.

ObjectAdded
LocationGIS_Parcel_Id__c (external id, unique), Block__c, Lot__c, Qualifier__c, Zone_District__c, Lot_Area_SqFt__c, Owner_Name__c, Owner_Mailing_Address__c
CaseRecord types Permit Project and Code Enforcement; Property__c; Closure_Approved_By__c
IndividualApplicationSix record types; Property__c, Performed_By__c (Contractor, Owner-Builder), Work_Class__c, Notice_Date__c, Scope_Subcodes__c, Adds_Area_Or_Height__c, Estimated_Cost__c, Construction_Volume__c, Board_Application_Type__c, event fields (Event_Type__c, Event_Start__c, Event_End__c, Rain_Date__c, Event_Activities__c, Street_Closure__c, Road_Segment_Ids__c), Override_Reason__c, Override_By__c. Status and InternalStatus values per Lifecycles
BusinessLicenseRecord types Permit, Certificate, Contractor Credential; Property__c, Parent_Permit__c, Work_Started_On__c, Last_Activity_On__c; Status values Active, Suspended, Invalid, Certificate Issued, Closed, Revoked
ApplicationReviewCycle__c; Type values for each discipline and department
RegulatoryTrxnFeeFee_Stage__c, Balance__c
VisitResult__c, Sequence__c, Requested_On__c, Requested_By__c
CaseProceedingOutcome__c, Votes_For__c, Votes_Against__c, Decision_Date__c, Resolution_Date__c, Publication_Date__c
PublicComplaintProperty__c, Intake_Channel__c; ComplaintType value Work Without a Permit
RegulatoryCodeViolationEnforcement_Case__c, Property__c
ViolationEnforcementActionType values Stop Work Order and Court Referral; Issued_By__c, Lifted_On__c
PublicApplicationParticipantRole values Owner, Contractor, Architect, Design Professional, Authorized Agent, Owner-Builder

Scenario walkthroughs

Each swimlane step and the records it creates or updates. Read this to check the model against the PDF.

1 Home addition or deck

  1. Address and project type enteredLocation matched on GIS_Parcel_Id__c; Case (Permit Project); IndividualApplication (Zoning)
  2. Rules build the checklistDocumentChecklistItem rows, zoning RegulatoryTrxnFee, related applications under the same Case
  3. Who submits, who performs the workPublicApplicationParticipant roles; contractor credentials checked on the firm's BusinessLicense rows; F100-2 as a checklist item
  4. Zoning reviewApplicationReview (Zoning) and ApplicationDecision; denial opens scenario 2
  5. Site Improvement in parallelIndividualApplication (Site Improvement), ApplicationReview (Engineering), escrow fee and ledger, Approval_Condition__c
  6. Construction application completeIndividualApplication (Construction); RequirementsCompleteDate starts a 20 business day Regulatory_Clock__c
  7. Subcode plan review and resubmissionApplicationReview per subcode per cycle, Review_Comment__c rows, new 7 business day clock per resubmission
  8. Fees recalculated and paidRegulatoryTrxnFeeItem lines; Fee_Transaction__c payment
  9. Prior approvals gateZoning and site permits issued, no open Before Permit conditions, all fees PAID, else On Hold
  10. Permit issuedApplicationDecision; BusinessLicense (Permit); Unscheduled Visit rows in required order
  11. InspectionsVisit Planned on request with 3 day clock; AssessmentTask results and photos; failed results get a reinspection Visit via ParentVisitId
  12. Certificate and closeBusinessLicense (CO, TCO or CA) with Parent_Permit__c; escrow refund in the ledger; permit Closed; assessor notified

2 Zoning Board variance or appeal

  1. Variance or appeal filedIndividualApplication (Zoning Board) with Board_Application_Type__c; an appeal also gets a 20 day filing window clock
  2. Completeness within 45 daysRegulatory_Clock__c (Board Completeness); RequirementsCompleteDate then starts the 120 day clock
  3. Extension with consentNew clock row superseding the old one, with Applicant_Consent__c and the consent document
  4. Notice and hearingCaseProceeding (Board Proceeding, Review Hearing); 200 ft list, proof of service and publication affidavit as DocumentChecklistItem
  5. Vote and resolutionVote and Decision_Date__c on the proceeding; ApplicationDecision; 45 day resolution clock; conditions as Approval_Condition__c by stage
  6. Notice of decision publishedPublication_Date__c starts the 45 day appeal clock
  7. Superior Court appealCaseProceeding (Court Action, Appeal) with RelatedCaseProceedingId set to the hearing; Outcome__c
  8. Zoning permit issuedBusinessLicense (Zoning Permit) after pre-issuance conditions clear; back to scenario 1

3 Work without a permit

  1. Complaint receivedPublicComplaint with Intake_Channel__c; ComplaintParticipant (Reporter); IsReporterConfidential when anonymous
  2. Case on the propertyCase (Code Enforcement) with Property__c, linked by ComplaintCase; active permits checked by property
  3. Site visitVisit (ContextId set to the Case) with findings and photos; exempt work closes the Case
  4. Notice of Violation, Stop Work OrderRegulatoryCodeViolation; ViolationEnforcementAction rows per notice
  5. Appeal within 15 daysCaseProceeding (Board Proceeding, Appeal) on the Case; 15 day filing and 10 business day decision clocks
  6. Corrective permitNew Permit Project Case with ParentId set to the enforcement Case; filing alone never closes enforcement
  7. ExtensionSuperseding Regulatory_Clock__c on the violation with reason and approving official
  8. Reinspect, escalate, courtReinspection Visit; Civil Penalty action with RegulatoryTrxnFee; CaseProceeding (Court Action)
  9. Formal closureViolation Resolved; Case closed with Closure_Approved_By__c; linked records closed separately

4 Water heater or furnace replacement

  1. Work classifiedWork Classification matrix; ordinary maintenance saves nothing; standard work goes to scenario 1
  2. Notice givenIndividualApplication (Construction) with Work_Class__c Minor or Emergency and Notice_Date__c; filing clock of 5 business days or 72 hours
  3. Reminder or overdueScheduled job on open clocks; overdue opens an enforcement review task, never an automatic penalty
  4. Filing and reviewF100, F130 or F145, F120, F370 as checklist items; ApplicationReview per subcode
  5. FeeRegulatoryTrxnFee; Fee_Transaction__c online or recorded by staff
  6. Permit and inspectionBusinessLicense (Permit); Visit rows from the Required Inspections matrix by equipment
  7. Certificate of ApprovalBusinessLicense (Certificate) with Parent_Permit__c; permit Closed

5 Block party or special event

  1. IntakeIndividualApplication (Special Event) with event fields, Property__c and Road_Segment_Ids__c
  2. Clash or late filingCalendar and roadwork check; override stores Override_Reason__c and Override_By__c, field history audited
  3. Approval matrix sorts tasksBlocking approvals as ApplicationReview with IsRequired true; separate permits as IndividualApplication under the same Case; service requests as ActionPlan; outside agency approvals as DocumentChecklistItem; notices only as notifications
  4. Corrections or denialApplicationReview recommendation routes back to that department; denial via ApplicationDecision with reasons and appeal rights
  5. Street closureApplicationReview (Police Chief), required before issuance
  6. Permit issuedBusinessLicense (Event Permit); Approval_Condition__c with Stage Before Event
  7. Inspections and event dayVisit for tents, cooking and food vendors; revocation sets permit status Revoked
  8. Close-outDeposit reconciled through Fee_Transaction__c refund; application Closed

Shared across all five

  • Audit: each decision record names its official: ReviewedById, DecisionAuthorityId, Approved_By__c, Issued_By__c, the Visit inspector. Field history tracking covers status changes.
  • Notifications: flows on status changes, with templates per audience (applicant, owner, complainant, residents). They are not stored as review tasks.
  • Documents: permit PDF, CO, NOV and resolution come from PSS Document Generation. A generated document is never the approval.
  • Property history: related lists on Location for applications, permits, certificates, visits, violations, complaints and conditions.
  • Status rules: abandonment after 6 months, no start in 12 months, and stopped for 6 months each run as clocks. A scheduled job moves records to Abandoned or Invalid.

Lifecycles

Status values per record. Grey values are end states.

Application IndividualApplication.Status, portal facing

Draft→Submitted→Incomplete→In Review→Corrections Required→Fees Due→On Hold→Issued
DeniedWithdrawnAbandoned

InternalStatus (staff only) adds: Completeness Check, Zoning Review, Engineering Review, Subcode Review, Resubmission Review, Fee Recalculation, Prior Approvals Check, Awaiting Construction Official.

Permit BusinessLicense.Status

Active→Suspended→Active→Certificate Issued→Closed
InvalidRevoked

Suspended while a Stop Work Order stands. Invalid when work does not start within 12 months or stops for 6.

Inspection Visit.Status + Result__c

Unscheduled→Planned→Completed
PassedFailedPartialNo AccessAbandoned

Unscheduled rows are created at permit issue. A request moves the row to Planned. A failed result spawns a child Visit.

Zoning Board Application + CaseProceeding

Submitted→Incomplete→Complete→Hearing Scheduled→Decided→Resolution Memorialized→Appeal Period
FinalUnder Court Appeal

Enforcement Case (Code Enforcement)

New→Investigating→Violation Issued→Under Appeal→Correction Period→Escalated→In Court→Pending Closure Approval
Closed: ExemptClosed: DismissedClosed: Compliant

Special event IndividualApplication (Special Event)

Submitted→Date Conflict→Incomplete→In Review→Corrections Requested→On Hold→Issued→Event Held→Closed
DeniedCancelledRevoked

Rules that drive the model

Business Rules Engine decision matrices and expression sets. Township admins maintain the rows. Flows call the rules and write the records.

RuleInputsWritesScenarios
Checklist BuilderPermit type, scope, performed byDocumentChecklistItem rows
Related PermitsParcel attributes, scope, impervious change, land disturbanceChild IndividualApplications: Site Improvement, tree removal, soil, street opening
Contractor CredentialsSubcodes in scopeCredential types to verify: HIC, electrical, master plumber, HVACR
Fee ScheduleFee stage, volume, cost, fixtures, event typeRegulatoryTrxnFeeItem lines
Required InspectionsPermit type, subcodes, equipmentUnscheduled Visit rows with Sequence__c
Certificate TypeAdds area or height, scopeCO, TCO or Certificate of Approval
Work ClassificationEquipment, like capacity, emergencyWork_Class__c: Maintenance, Minor, Emergency, Standard
Event Approval MatrixEvent type, activities, street closure, locationBlocking reviews, notices, separate permits, service requests, inspections, outside agency items
Clock RulesClock typeLength, business or calendar basis, pausing statuses

Integration touchpoints

Each external system lands on a specific object. All are still listed as "to confirm" in the swimlanes.

SystemObject it touchesDirection
GIS and parcelsLocation (parcel, zone, lot area); event road segmentsInbound lookup
Tax assessment and ownershipLocation owner fields; certificate notice to the assessorBoth
Finance and paymentsFee_Transaction__cBoth
NJ State reportingBusinessLicense, Visit, certificatesOutbound
Contractor licence lookupBusinessLicense (Contractor Credential)Inbound
Roadwork and event calendarsSpecial Event clash checkInbound
Current permitting systemLocation, IndividualApplication, BusinessLicense, Visit historyOne-time migration

Decisions and checks before build

The model is sound on paper. These items need answers in Edison's actual org before anyone builds metadata.

Verify in Edison's org

  • ApplicationReview and ApplicationDecision come from the Grantmaking module. Confirm Edison's PSS licences let staff create them. If not, use one custom Plan_Review__c child of IndividualApplication with the same fields.
  • CaseProceeding showed as not createable for the profiling user. Confirm with the Public Sector Access licence. Fallback: custom Hearing__c.
  • Polymorphic and lookup targets: Visit.ContextId accepts Case, and custom lookups to RegulatoryTrxnFee, ApplicationReview and CaseProceeding are allowed.
  • Portal licence: the communities permitting licence must cover every object applicants see: applications, checklist items, fees, visits, comments and conditions.
  • Field users: inspectors need Public Sector Field Access for Visit and the mobile app. That is a cost Edison pays per inspector.

Decide before build

  • Person Accounts for homeowners. Recommended. Enabling them is permanent, so get sign-off first.
  • Portal sharing for multi-party applications. The owner, contractor and architect all need the same record. Sharing sets key off one lookup, so participant-based access needs Apex managed sharing driven by PublicApplicationParticipant.
  • Audit retention. Field history keeps 18 months in the UI and 24 months through the API, while permit records must be kept far longer. Pick a custom status history log or a scheduled export.
  • One Case per project, always. Even single-application work like a water heater opens a Permit Project Case, so the portal's "My Projects" list stays uniform.
  • Event road segments are stored as GIS ids on the application. If Edison needs clash checks per street, add a junction to Location.

Edison's open questions are configuration, not schema

  • Sequential or concurrent reviews: only when ApplicationReview rows are created.
  • Fee stages: how many RegulatoryTrxnFee rows per project.
  • Applicants book or request inspections: the Visit status path in the portal.
  • Site Improvement thresholds: rows in the Related Permits matrix.
  • Certificate type for decks and accessory structures: rows in the Certificate Type matrix.
  • Issuing office and mandatory approvals per event type: rows in the Event Approval Matrix.

Out of scope for this model

  • Notification templates and SMS channel choice
  • Document generation templates (permit, CO, NOV, resolution)
  • GIS layers and road segment geometry
  • OmniScript and FlexCard design for the portal
  • Data migration mapping from the current permitting system