Skip to content

Identifier placeholder

Identifier Placeholder

When an identifier-type filter (type: identifier) is defined but the filter's value is missing or explicitly null, Koality uses a configurable placeholder string to fill the result IDENTIFIER column and logging messages. This avoids None or empty identifiers in persisted results and monitoring UIs.

Configuration

Set the placeholder with defaults.identifier_placeholder. It is a run-level setting, so it is only allowed in the top-level defaults; setting it in a bundle's defaults or on a check is a validation error.

If not set, the placeholder defaults to ALL.

Example

defaults:
  identifier_placeholder: UNKNOWN
  filters:
    shop_id:
      column: shop_code
      type: identifier
      value: null

Result: IDENTIFIER uses UNKNOWN for checks that rely on the shop_id identifier when no concrete value is provided.

Notes

  • The placeholder is only applied for naming/logging and does not produce a WHERE clause when the identifier filter lacks a value and no column is provided.
  • Use a descriptive placeholder (e.g., ALL, UNKNOWN, ALL_SHOPS) to make results easier to interpret in dashboards and logs.