Skip to content

Parallel Gateway

Overview

A parallel gateway is a control structure used to create parallel branches and merge parallel paths in business processes. It ensures that all branch paths execute in parallel rather than sequentially. Parallel gateways are typically used to represent parallel tasks or activities in a workflow.

Flowchart

Example flowchart is as follows:

Flowchart

Data Table

Data table structure is as follows:

FieldTypeDescription
userUser SelectionLeave Applicant
leaveTypeList SelectionLeave type, options include: Annual Leave, Sick Leave, Personal Leave, Compensatory Time Off
startDateDateLeave start time
endDateDateLeave end time
reasonMulti-line TextLeave reason
durationsFunctionNumber of leave days. Configuration content: DATE(endDate) - DATE(startDate) + 1

durations configuration content:

DATE(endDate) - DATE(startDate) + 1

Workflow Configuration

The first parallel gateway distributes tasks to both Department Head and HRD simultaneously after supervisor approval. The second parallel gateway waits for both Department Head Approval and HRD Approval to be completed before the workflow ends.

Global Settings

Add startup form for initiator to fill in application information. Global Settings

Supervisor Approval Node

Configure handler as supervisor role

Department Head Node

HRD Approval Node

Parallel Gateway

Gateway functionality is determined by gateway type, no configuration needed. Reference Documentation

Effect Diagram

Process Information:Process InformationProcess Information