Skip to content

Creating and publishing a workflow

The workflow screens are in Turkish; labels are shown as they appear, with their meaning in brackets.

This page explains how an approval workflow is built from start to finish: opening a new workflow from the list, adding steps in the editor, saving and publishing. The settings of each step type are on their own pages. You need the relevant permissions to create and publish workflows.

Workflows app → Workflow management lists all of your company’s workflows.

Field What it does
Search box (Ad veya koda göre ara…, search by name or code) Filters workflows by name or code.
Status filter Tümü (all), Taslak (draft), Yayında (published), Arşiv (archived).
Akış (workflow) Name and code. If the draft has unpublished changes it says “Yayımlanmamış değişiklikler var” (there are unpublished changes).
Durum (status), Sürüm (version), Son değişiklik (last change) The workflow’s status, its published version and when it last changed.
İşlemler (actions) Düzenle (edit; Görüntüle, view, if you lack permission), Sürümler (versions), Arşivle (archive), Sil (delete).
  1. Click Yeni akış (new workflow). The dialog says “Ad ve kod belirleyin; adımları bir sonraki ekranda tasarlarsınız.” (Set a name and a code; you design the steps on the next screen.)
  2. Fill in the fields:
    • Ad (name, required): for example İzin Talebi Onayı.
    • Kod (code, required): for example IZIN-ONAY; it is suggested as you type the name. It must start with a letter or a digit, may contain only letters, digits, dots, hyphens and underscores, and is at most 64 characters. If another workflow already uses the code, you see “Bu kod zaten başka bir akışta kullanılıyor. Farklı bir kod girin.” (This code is already used by another workflow. Enter a different code.)
    • Açıklama (description, optional).
  3. Choose a Başlangıç şablonu (starter template):
    • Boş akış (blank workflow): you add the steps yourself.
    • Masraf onayı (expense approval): “Yönetici onayı → tutar koşulu → finans grubu onayı (72 saat eskalasyon) → bitiş.” (Manager approval → amount condition → finance group approval (72-hour escalation) → end.) When you choose this template you are asked for a Form and a Tutar alanı (amount field): the condition step looks at this form’s amount field (finance approval if the amount is greater than 5000). If you do not choose them now, you choose them later in the condition step. If the form has no number field, it says “Bu formda sayı alanı yok” (This form has no number field).
    • Paralel onay (Finans + Hukuk, ikisi de onaylamalı) (parallel approval, Finance + Legal, both must approve): separate tasks are created for the members of the Finance and Legal groups; it passes when all approve and is rejected if one rejects.
  4. Click Oluştur ve tasarla (create and design). The workflow is created as Taslak (draft) and opens in the editor.

Templates are only a starting point: you change the groups, the threshold and the durations to suit your company. If the group codes the template uses (e.g. FINANCE, LEGAL, HR) do not exist in your company, you need to correct the group choices.

At the top of the editor:

  • Akış adı (workflow name) and Akış açıklaması (workflow description): edited in place.
  • Sürümler (versions): opens the version history.
  • Tanımı gör (view definition): shows the technical definition of the workflow (Akış tanımı (JSON), workflow definition) read-only.
  • Kaydet (save): saves the draft. It is saved even if the workflow has problems.
  • Yayımla (publish): opens the publish dialog.
  • Görünüm (view): Liste (list) or Tuval (canvas). In list view the steps are stacked as cards; on the canvas they appear as a diagram (see Canvas view). Both views edit the same workflow.

You may see an information banner:

  • “Bu akış henüz yayımlanmadı: bir forma bağlanabilmesi için önce yayımlayın.” (This workflow has not been published yet: publish it first so it can be attached to a form.)
  • “Bu akış arşivlendi: düzenlenemez, yeni sürüm yayımlanamaz ve forma bağlanamaz. Sürüm geçmişi okunabilir.” (This workflow is archived: it cannot be edited, no new version can be published and it cannot be attached to a form. The version history can be read.)
  • “Bu akışı düzenleme izniniz yok; tasarım salt okunur.” (You do not have permission to edit this workflow; the design is read-only.)

In the Bağlı form (linked form) field, choose the form the workflow will run on. This choice lets you pick form fields from a list in the steps (adding a field to the task title, reading the amount in a condition, taking the approver from a form field). If you do not choose one, it says “Alan seçmek için Bağlı form’dan bir form seçin.” (Choose a form under Bağlı form to select fields.) You need permission to view forms to choose one.

Actually attaching the workflow to a form is a separate step done after publishing: Attaching a workflow to a form.

The Akış adımları (workflow steps) section shows the step cards. Adım ekle (add step) adds a new step:

Step What it does Details
Onay adımı (approval step) Opens an approval task for one or more people. Approval step
Koşul adımı (condition step) Goes one of two ways depending on the answers or the state of the workflow. Condition step and decision table
Bildirim gönder (send notification) Sends an e-mail or in-app notification to the people you choose. Notification step
Alan güncelle (update field) Writes values to workflow variables. Update field step
Webhook çağır (call webhook) Sends information to an external system. Webhook step
Bitiş adımı (end step) Ends the workflow with Onaylandı (approved) or Reddedildi (rejected). Below

Fields shared by every step:

  • Anahtar (key): the step’s name inside the workflow, shown at the top of the card; for example yonetici_onayi. It must start with a letter, may contain only letters, digits, _ and -, and is at most 64 characters. Steps are linked to each other by this key.
  • Ad (name): the name shown in the timeline and on the canvas, for example “Finans bilgilendirmesi”. It is an optional field in notification and update field steps; in the approval step Görev başlığı (task title) appears instead.
  • Sonra (then) / Onaylanırsa (if approved) / Reddedilirse (if rejected) / Sağlanırsa (if met) / Sağlanmazsa (if not met): which step to go to after this one. The list contains the steps in the workflow and two end options: Onaylandı ile bitir (end as approved) and Reddedildi ile bitir (end as rejected).

The Başlangıç adımı (start step) choice sets which step the workflow begins with.

A workflow can have at most 50 steps.

The end step’s only setting is Sonuç (result): Onaylandı (approved) or Reddedildi (rejected). “Akış bu sonuçla biter.” (The workflow ends with this result.) Most of the time you do not need a separate end step; you can choose Onaylandı ile bitir or Reddedildi ile bitir directly as a step’s target. An end step is useful to make the end of the workflow visible on the canvas, or to gather several branches into the same result.

Kaydet saves the draft; the editor does not save on its own. If you try to leave the page with unsaved changes, the Kaydedilmemiş değişiklikler (unsaved changes) dialog appears: “Bu sayfadan ayrılırsanız yaptığınız değişiklikler kaybolur.” (If you leave this page, your changes are lost.) Choose Sayfada kal (stay on page) or Değişiklikleri at (discard changes).

  1. Click Yayımla.
  2. If the workflow has problems, publishing stops: “Sorunlar ilgili adımların yanında gösteriliyor.” (The problems are shown next to the steps concerned.) Each step’s card says what is missing (see the list below). Fix them and try again.
  3. In the Akışı yayımla (publish workflow) dialog, optionally write a Sürüm notu (isteğe bağlı) (version note, optional), for example “Finans onayı eşiği güncellendi”. Your unsaved changes are saved to the draft first.
  4. Click Yayımla. A new version is created.

If the draft is the same as the last published version, it says “Yayımlanacak değişiklik yok” (No changes to publish). If publishing succeeds but there is something to look at, the “Yayımlandı; kontrol edilmesi gerekenler var” (Published; some things need checking) dialog lists them (for example a field that no longer exists in the linked form).

Typical problems that stop publishing:

  • “En az bir adım ekleyin.” (Add at least one step.) / “Başlangıç adımını seçin.” (Choose the start step.) / “Sonraki adımı seçin.” (Choose the next step.)
  • “Adım anahtarı gerekli.” (Step key is required.) or the same key used twice.
  • No assignee or fallback assignee chosen in an approval step (“Bir kullanıcı seçin.” (Choose a user.), “Bir çalışan grubu seçin.” (Choose an employee group.)).
  • “Formdaki alan yalnız atayanlarda kullanılabilir; yedek atayan ve eskalasyon hedefi sabit olmalı.” (A form field can only be used for assignees; the fallback assignee and the escalation target must be fixed.)
  • “Süre dolunca adımın kendisine gidilemez; başka bir adım seçin.” (On timeout the step cannot go to itself; choose another step.)
  • “Bu adımdan önce onay adımı yok; geri gönderilecek bir yer yok.” (There is no approval step before this step; there is nowhere to send back to.)
  • An empty group in a condition: “‘Tümü’ veya ‘Herhangi biri’ grubuna en az bir koşul ekleyin.” (Add at least one condition to the ‘All’ or ‘Any’ group.)
  • A webhook address that is not https: “Yalnız https adresleri kullanılabilir (http yasak).” (Only https addresses can be used; http is not allowed.)
  • Steps that cannot be reached by any path, and endless loops.

The Sürümler panel (Sürüm geçmişi, version history) lists the published versions of the workflow. “Yayımlanmış sürümler değiştirilemez. Salt okunur özet için bir sürüm seçin.” (Published versions cannot be changed. Choose a version for a read-only summary.) When you choose a version, its steps appear read-only as a list or on the canvas.

When you publish a new version:

  • new requests use the new version,
  • running requests continue with the version they started on.

The binding on the form looks at the workflow’s latest published version; you do not need to attach it again. The binding’s history shows which version was used when.

Arşivle (archive): “arşivlenince yeni sürüm yayımlanamaz, forma bağlanamaz ve bağlı olduğu formlardaki aktif bağlar kapatılır (yeni gönderiler akışa girmez)” (once archived, no new version can be published, it cannot be attached to a form, and the active bindings on the forms it is attached to are closed, so new submissions do not enter the workflow). Running requests are not affected and continue to the end. Archiving cannot be undone.

Sil (delete) moves the workflow to the trash. A workflow attached to a form cannot be deleted; remove the binding first. You can restore a deleted workflow from the Workflows tab of the System → Trash page.