Condition step and decision table
The workflow screens are in Turkish; labels are shown as they appear, with their meaning in brackets.
A condition step opens no task for anyone; it checks a question and sends the workflow one of two ways: to one step if the condition is met, to another if it is not met. Example: “If the amount is greater than 5,000 TL, go to finance approval; otherwise end as approved.”
To add the step, in the editor choose Adım ekle (add step) → Koşul adımı (condition step). To pick form fields from a list, you must have chosen the form in the editor’s Bağlı form (linked form) field (“Önce bağlı formu seçin…”, choose the linked form first…).
Condition groups
Section titled “Condition groups”Conditions sit in two groups:
- Tümü sağlanmalı (ve) (all must be met, and): the group is met if every condition in it is true.
- Herhangi biri sağlanmalı (veya) (any must be met, or): the group is met if one of its conditions is true.
If both groups have conditions, both must be met. A group can have at most 20 conditions. An empty group says “Bu grupta koşul yok.” (There are no conditions in this group.); if both groups are empty, the workflow cannot be published (“‘Tümü’ veya ‘Herhangi biri’ grubuna en az bir koşul ekleyin.”, add at least one condition to the ‘All’ or ‘Any’ group).
A condition row
Section titled “A condition row”Each row has three parts: what to look at, the operator and the value.
What to look at (source)
Section titled “What to look at (source)”| Source | What is read |
|---|---|
| Form alanı (form field) | The answer to a question in the submission. Chosen from the Form alanı… list. |
| Akış değişkenleri (workflow variables) | A variable written by an Alan güncelle (update field) step. |
| Son karar (latest decision) | The latest decision of an approval step: a specific step or Herhangi bir adım (en son karar) (any step, latest decision). The values are decision results such as approved or rejected. |
| Son karardaki yorum (comment on the latest decision) | The note or reason written with the latest decision. |
| Webhook sonucu (webhook result) | The result of a webhook step: Başarılı mı (succeeded?), Sonuç sınıfı (2xx…5xx, timeout, network, blocked) (result class), HTTP durum kodu (HTTP status code), Hata kodu (error code), Deneme sayısı (number of attempts). |
Operators
Section titled “Operators”| Operator | Meaning |
|---|---|
| eşittir (equals), eşit değildir (does not equal) | Whether the value is the same or not. |
| büyüktür (greater than), büyük veya eşittir (greater than or equal), küçüktür (less than), küçük veya eşittir (less than or equal) | For numbers and dates. |
| şunlardan biridir (is one of), şunlardan biri değildir (is not one of) | Whether the value is in a list. Separate the values with commas (1–100 values). In a multiple-choice field, it is met if any of the selected options is in the list. |
| içerir (contains) | Whether a piece of text appears in a text field; whether an item is selected in a multiple choice. |
| boştur (is empty), doludur (is not empty) | Whether the answer is empty or filled. No value is entered. |
Value and its type
Section titled “Value and its type”Next to the value box you choose the value’s type: Metin (text), Sayı (number), Evet/Hayır (yes/no) or Boş değer (empty value). The type matters:
- Compare a number field with a number. If
5000is entered as Metin, it does not match a number field. - Text comparison is not case-sensitive:
ankaraandAnkaraare equal. - Texts in date format on both sides (
2026-12-15,2026-12-15T10:00:00+03:00) are compared as dates. - Evet/Hayır is used only with eşittir and eşit değildir.
- For boştur: no answer, empty text, empty list.
0and “Hayır” (no) are not empty. - In choice questions, the option’s value (the code defined in the form) is compared, not its label:
yillik, not “Yıllık izin” (annual leave).
If met and if not met
Section titled “If met and if not met”At the end of the card you choose two targets: Sağlanırsa (if met) and Sağlanmazsa (if not met). Each can be a step in the workflow or Onaylandı ile bitir (end as approved) / Reddedildi ile bitir (end as rejected).
Example: branching on the amount
Section titled “Example: branching on the amount”| Setting | Value |
|---|---|
| Key | tutar_kontrolu |
| Tümü sağlanmalı (ve) | Form alanı “Toplam tutar” (total amount) · büyüktür · 5000 (Sayı) |
| Sağlanırsa | finans_onayi |
| Sağlanmazsa | Onaylandı ile bitir |
Example: by leave type and duration
Section titled “Example: by leave type and duration”| Setting | Value |
|---|---|
| Tümü sağlanmalı (ve) | Form alanı “İzin türü” (leave type) · şunlardan biridir · yillik, ucretsiz (Metin) and Form alanı “Gün sayısı” (number of days) · büyüktür · 5 (Sayı) |
| Sağlanırsa | ik_onayi |
| Sağlanmazsa | Onaylandı ile bitir |
Decision table
Section titled “Decision table”Several condition steps chained to each other through Sağlanmazsa can also be edited as a karar tablosu (decision table): each row is a rule and the first matching rule wins. For cases such as sending to different approvers by amount band, it is much easier to read than the list.
On the condition step’s card, switch the view from Liste (list) to Karar tablosu (decision table).
- Girdi sütunları (input columns): what the table looks at. Form alanı sütunu ekle (add form field column) or Değişken / karar / webhook sütunu ekle (add variable / decision / webhook column) (Girdi sütunu ekle, add input column).
- Kural ekle (add rule): each rule is a row. In each cell, write the condition for that column: operator and value. For a range, choose aralıkta (dahil) (in range, inclusive) and enter Alt sınır (lower bound) and Üst sınır (upper bound). An empty cell means “does not matter”.
- At the end of each row, choose the target step.
- Aksi halde hedef (otherwise target; hiçbir kural eşleşmezse · zorunlu, if no rule matches · required): the step to go to if no row matches.
Rules are tried from top to bottom (ilk eşleşen, first match). With the row actions you can move and delete rules. Rows that can never match because of a rule higher up are marked. Under the table, Kuralların ifade karşılıkları (yalnız okunur önizleme) (the rules as expressions, read-only preview) shows each rule as a condition.
The table only shows Tümü (and) conditions. If a step uses an Herhangi biri (any) group, the table does not open and shows the warning “karar tablosu yalnız Tümü (ve) koşullarını gösterir” (the decision table only shows All (and) conditions); edit it in list view.
Example, the approver by expense amount:
| Toplam tutar (total amount) | Masraf türü (expense type) | Target |
|---|---|---|
eşittir temsil |
finans_onayi |
|
| aralıkta (dahil) 0 – 5.000 | Onaylandı ile bitir | |
| aralıkta (dahil) 5.000 – 50.000 | finans_onayi |
|
| büyüktür 50.000 | genel_mudur_onayi |
|
| Aksi halde hedef | finans_onayi |
Entertainment (temsil) expenses go to finance whatever the amount, which is why that rule is at the top. If it were at the bottom,
the amount rules above would catch every amount, so it would never match and the table would mark it.
Once saved, the table is stored in the workflow as ordinary condition steps; it also appears that way on the canvas.