Application design patterns
Section titled “Application design patterns”This page is for builders who want to reuse a shape that is known to work instead of inventing one. Each pattern page follows the same outline: the problem, when to use it, how to build it in OSOS with click paths, a worked example from the Customer Support or Recruitment system, the mistakes to avoid, and related pages.
The catalogue
Section titled “The catalogue”| Pattern | The problem it solves | Built with | Support |
|---|---|---|---|
| Master-detail | A record that owns or lists other records | Reference field + incoming relation, or a repeatable Block | Native |
| Approval chain | A record that must be approved by one or more people in order | Workflow steps, owners, actions, conditional targets, sub-workflows | Native |
| Request and ticket lifecycle | Requests that are numbered, routed, timed, answered and closed | Services, Sequence field, workflow, time limits, reactions, Kanban | Native |
| Audit trail | Knowing who changed what, and why | Record history, workflow history and comments, Audit Logs | Native — what is recorded is decided by the platform |
| Archive, don’t delete | Removing records without losing them | Archive and restore, Archive Data Entry and Delete Archived Entry reactions | Native |
| Configuration and reference data | Settings and value sets the application reads | Lists, a small settings entity, reference and mapped fields, reactions | Partial |
| Reuse logic instead of copying it | The same rule needed in many places | Saved queries, sub-workflows, custom actions, chained reactions, validators | Partial |
| Reaction-driven automation | Work that should happen by itself when something happens | Reactions: event, filter, one action; chains; timers | Native |
| Screens for each audience | Different people needing different screens on the same data | Several views with their own access, queries, step field rules | Native at screen level |
Native means a builder can do it in Administration with shipped features. Partial means it is achievable by combining features, or with deep code (Functions), and the page states the limit plainly.
What OSOS does not offer
Section titled “What OSOS does not offer”Do not design around these; none of them exists today:
- A one-record-only (singleton) entity type for settings. Keep settings in a normal entity and enforce “one record” by process — see Configuration and reference data.
- A shared, named formula library. Calculated values and custom validations are defined per field — see Reuse logic instead of copying it.
- Expressions that read another entity’s records. Bring the value in with a reference and a mapped field first.
- Per-record access grants, and “deny” grants. Access is granted per resource and grants only add up — see Screens for each audience.
- Custom indexes on request, virtual or core-module entities — see Model your data well.
- Builder control over what the audit log records — see Audit trail.
Choosing between patterns
Section titled “Choosing between patterns”Patterns combine. A typical request application uses the request lifecycle as its backbone, an approval chain for its decisions, reaction-driven automation for its notifications, screens for each audience for requesters and handlers, and archive, don’t delete when requests are done. Start from the design sheet and pick the pattern for each line of it.
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27