| Configuration | Matter types, record types, page layouts, validation rules, approval processes, reports and dashboards. | Upgrade-safe by construction. Maintainable by a firm administrator. | Always the first answer. If configuration reaches it, configuration wins. |
|---|
| Declarative automation | Flow, scheduled and record-triggered automation, deadline and reminder engines, document generation, approval routing. | Upgrade-safe. Traceable in the platform's own tooling. Needs design discipline around order of execution. | Covers the large majority of legal workflow requirements, including most of what firms call "custom". |
|---|
| Custom code | Apex services and triggers, Lightning Web Components, Platform Events, batch and scheduled jobs, callouts to external systems. | Upgrade-safe only when written against supported extension points, with test coverage that is real rather than nominal. | Justified for genuine complexity, volume, or an external system with no declarative path. |
|---|
| Not recommended | Modifying the managed package, undocumented dependencies on package internals, logic duplicated across triggers and Flow. | Breaks on vendor releases. Cannot be supported. | We will say so and propose the supported alternative instead. |
|---|