Restriction-Operatoren
Eine Restriction ist eine Bedingung: „zeige diesen Inhalt nur, wenn …". Der Operator bestimmt, wie ein Wert geprüft wird. Diese Seite erklärt alle 16 Operatoren mit Beispielen.
Wie eine Regel aufgebaut ist
Eine Bedingung besteht aus Feld · Operator · Wert — z. B. „Profilfeld Land equals DE". Mehrere Bedingungen verknüpfen Sie mit and / or / not.
Vergleich (Zahlen & Daten)
| Operator | Bedeutung | Beispiel |
|---|---|---|
equals | ist genau gleich | Level equals „Senior" |
greater_than | größer als | Punkte greater_than 100 |
greater_than_or_equal_to | größer oder gleich | Alter ≥ 18 |
less_than | kleiner als | Fortschritt less_than 50 |
less_than_or_equal_to | kleiner oder gleich | Versuche ≤ 3 |
in | ist einer aus einer Liste | Land in [DE, AT, CH] |
after | Datum liegt nach | Eintritt after 01.01.2026 |
before | Datum liegt vor | Frist before 31.12.2026 |
Text
| Operator | Bedeutung | Beispiel |
|---|---|---|
contains_any | enthält mindestens einen der Werte | Tags contains_any [Sales, Leadership] |
contains_all | enthält alle Werte | Tags contains_all [Pflicht, 2026] |
starts_with | beginnt mit | E-Mail starts_with „hr-" |
ends_with | endet mit | E-Mail ends_with „@8s.de" |
Existenz
| Operator | Bedeutung | Beispiel |
|---|---|---|
exists | Feld ist überhaupt gesetzt | Abteilung exists |
Logische Verknüpfung
| Operator | Bedeutung | Beispiel |
|---|---|---|
and | alle Bedingungen müssen zutreffen | Land equals DE and Level equals Senior |
or | mindestens eine Bedingung trifft zu | Gruppe Sales or Gruppe Marketing |
not | kehrt eine Bedingung um | not (Status equals „deaktiviert") |
Tipp: Bauen Sie Regeln aus wenigen, klaren Bedingungen. Verschachtelte and/or/not werden schnell unübersichtlich — dann lieber in ein benanntes Preset auslagern und wiederverwenden.
Worauf achten
- Feldtyp passt zum Operator: Datums-Operatoren nur auf Datumsfelder, Text-Operatoren nur auf Text.
- Mit Testkonto prüfen: Restrictions wirken sofort auf die Sichtbarkeit.
- Groß-/Kleinschreibung & Leerzeichen bei Textvergleichen beachten.
Verwandtes
Zurück zu Restriction-Presets.
Restriction operators
A restriction is a condition: “show this content only if …”. The operator determines how a value is checked. This page explains all 16 operators with examples.
How a rule is built
A condition consists of field · operator · value — e.g. “profile field Country equals DE”. You combine several conditions with and / or / not.
Comparison (numbers & dates)
| Operator | Meaning | Example |
|---|---|---|
equals | is exactly equal | Level equals “Senior” |
greater_than | greater than | Points greater_than 100 |
greater_than_or_equal_to | greater than or equal to | Age ≥ 18 |
less_than | less than | Progress less_than 50 |
less_than_or_equal_to | less than or equal to | Attempts ≤ 3 |
in | is one of a list | Country in [DE, AT, CH] |
after | date is after | Start after 01.01.2026 |
before | date is before | Deadline before 31.12.2026 |
Text
| Operator | Meaning | Example |
|---|---|---|
contains_any | contains at least one of the values | Tags contains_any [Sales, Leadership] |
contains_all | contains all values | Tags contains_all [Mandatory, 2026] |
starts_with | begins with | Email starts_with “hr-” |
ends_with | ends with | Email ends_with “@8s.de” |
Existence
| Operator | Meaning | Example |
|---|---|---|
exists | field is set at all | Department exists |
Logical combination
| Operator | Meaning | Example |
|---|---|---|
and | all conditions must be true | Country equals DE and Level equals Senior |
or | at least one condition is true | Group Sales or Group Marketing |
not | inverts a condition | not (Status equals “deactivated”) |
Tip: Build rules from few, clear conditions. Nested and/or/not quickly become confusing — then rather move it into a named preset and reuse it.
What to watch
- Field type matches the operator: date operators only on date fields, text operators only on text.
- Check with a test account: restrictions take effect on visibility immediately.
- Mind case & spaces in text comparisons.
Related
Back to Restriction presets.