Business Process/Linter Rules

No Cross-Pool Sequence Flow

Melarang sequence flow yang menghubungkan elemen di pool yang berbeda.

AtributNilai
Rule IDno-cross-pool-sequence-flow
SeverityError — wajib diperbaiki agar BPMN lolos linter
Elemen yang dicekSequence Flow
SumberPlugin linter AlurKerja (bpmnlint-plugin-alurkerja)

Rule No Cross-Pool Sequence Flow memeriksa sequence flow yang menghubungkan elemen di dua pool berbeda. Komunikasi antar pool harus memakai message flow.

Pesan di Studio

Temuan rule ini tampil di panel Problems BPMN Editor dengan pesan berikut:

  • Sequence flow crosses pool boundary — use message flow for communication between pools

Kenapa ini masalah

Setiap pool adalah proses yang berdiri sendiri. Sequence flow hanya berlaku di dalam satu proses, sehingga sequence flow lintas pool tidak dapat dijalankan oleh engine.

Cara memperbaiki

  1. Hapus sequence flow yang melintasi batas pool.
  2. Ganti dengan message flow (garis putus-putus) dari elemen pengirim ke elemen penerima di pool lain.
  3. Pastikan alur di masing-masing pool tetap lengkap, dengan Start Event dan End Event sendiri.
  4. Kalau kedua elemen sebenarnya dikerjakan oleh pihak yang berbeda dalam satu proses yang sama, gunakan satu pool dengan beberapa lane, bukan beberapa pool.

Rule terkait