Skip to content

This pattern is for builders whose application depends on values that change from time to time — the list of nationalities, the escalation time for a ticket, the mailbox that support emails come from. Read it after My First Application. By the end you will know where to keep such values so they are changed in one place, and where OSOS stops short.

Applications are full of values that are not data about one record but rules for all of them: the options people pick from, a number of hours before escalation, a group that receives new requests. When those values are typed straight into fields, reactions and workflow steps, changing one means hunting through every place it was copied to — and missing one.

  • A value set several fields or entities share — nationalities, competencies, cost centres. Keep it as a list or an entity.
  • A value set with its own details — a product with a price, a region with a manager. That is an entity; see Link, look up, or combine?.
  • A setting the business changes without a builder — escalation hours, a default team, a mailbox. Consider a small settings entity.

For a handful of fixed options that belong to one field only, a Category is simpler.

  • No singleton entity. Data Entity Type offers Normal Entity and the three virtual types only. Nothing stops a second “settings” record being added; you keep it to one record by how you share it (below).
  • Expressions see only their own record. Calculated values, conditions and validations work with the record’s own values and the built-in helpers — @me, @myOrgUnit, groups, roles and date pointers such as @today. They cannot look up a value in another entity. To use a setting, bring it into the record first.
  1. Open Administration › Lists, or an entity’s Lists tab, and select New List.
  2. Choose the Data Type — Text for plain values, or Entity for records of an entity — and add the values. Use a hierarchy for a tree such as a category of categories.
  3. In each entity that needs it, add a Reference field and choose the list as the source of its options.

When the values have details of their own, make them records of an entity instead and point Reference fields at it.

  1. Create an ordinary entity — for example Support settings — with one field per setting: Escalation hours (Number) and Support mailbox (Text).
  2. Add one record holding the current values.
  3. Give Edit on this entity only to the people who own the settings. Build a view for them with Editing entries on and Creating new entries off, so the one record can be changed but no second one added. See Permissions & access.
  4. Bring the values where they are needed:
    • Into records: add a Reference field to the settings record and a mapped field for the value. Choose the Update Mode deliberately: From Parent Only follows the setting as it changes; Never freezes the value the record started with.
    • Into reactions: use the mapped value in a reaction’s filter, or have a reaction copy it with Update Data Entry.
    • Into code: a function can read the settings record directly. That is deep code; use it only when the designer options above cannot do it.
  5. Optionally, have your developers attach a Standalone Validator that refuses a second record. That too is a function.

The Recruitment tutorial keeps its reference data as shared lists: Competencies, Nationalities, Residence, Educational qualifications and Candidate status. The same list is used in several places — Nationalities by both Employees and the Job applications service, Competencies by the job’s Required qualifications and the applicant’s Key skills, and Candidate status by one field in the application’s Initial evaluation block, which the screening and each interview step update. Adding a nationality or a competency is one change, and every form picks it up.

An extension, for design practice: the Customer Support tutorial does not have settings, but it would benefit from them. A Support settings entity could hold Escalation hours. Each ticket points at the settings record with a reference field and maps Escalation hours in with From Parent Only; the Processing Ticket step’s time limit can then take its value from that field (Timing method Field Value). When the support manager changes the hours, tickets that reach the step afterwards use the new value, without a builder touching the workflow. This is a design sketch, not part of the tutorial — try it in a test environment first.

  • Magic numbers typed into twenty reactions. “48 hours” in every filter and message means twenty edits when policy changes. Keep the number in one setting and map it in.
  • The same Category defined in five entities. The options drift apart and reports stop matching. Make it one list and reference it.
  • Settings hidden in option labels. A Category option called Escalate after 48h is a label, not a value anything can use. Use a Number field.
  • Expecting an expression to look up a setting. It cannot read another entity. Map the value into the record first.
  • A settings entity everyone can edit. One stray record or edit changes behaviour for everyone. Limit Edit to its owners and leave out the create form.

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