Introduction to the Process Modeler
The Softyflow Process Modeler is a comprehensive and intuitive tool designed for creating, configuring, and testing business workflows. It adheres to the BPMN 2.0 standard, a widely recognized notation for business process modeling. This allows you to visually map out your processes and seamlessly connect them to your application's logic, transforming complex procedures into automated, efficient workflows.
1. Building Your First ProcessDirect link to 1. Building Your First Process
The Process Modeler is designed to be user-friendly, featuring a central canvas for workflow design and a palette of BPMN components on the left.
1.1. Creating a ProcessDirect link to 1.1. Creating a Process
Processes are created inside a project, from its Build mode:
- On the Build home of the project, click the Process tile (or the + of the Processes card). You can also open Processes in the project dock on the left and click New process.
- The New process card opens next to the dock ("A workflow: steps, tasks and rules"). Type the Name of the process, for example
Leave request. - Click Create (or press Enter).


The new process opens in the process builder, in a new editor tab of the project. It already contains a basic template to get you started: a Start Event, a Normal Task and an End Event, connected by sequence flows.
Two other ways to start a process:
- Create with Flowy, at the bottom of the Processes panel of the dock, opens the Flowy AI panel on the right: describe the process you need and Flowy builds it in the project (see The Flowy Panel).
- The Workflow wizard tile of the Build home generates a complete approval application (form, process, reports, dashboard and menu) from a request name and its approval steps (see Workflow wizard).
Flowy AI also works on a process that is already open: the Flowy AI tab on the right edge of the builder opens the Flowy panel, docked on the right. The shortcut Ctrl+I (⌘+I on a Mac) also opens it, but only when the focus is outside the editor: after a click on the canvas, use the tab. Flowy works on the process open in the tab, and the panel pushes the page instead of covering it. At the end of a Build request, the editor reloads to show Flowy's changes: save your process before sending a request. See The Flowy Panel.
The process builder does not save automatically: save your changes with Save Process (first button of the rail on the right) or Ctrl + S (see Saving the Process).
1.2. Adding and Connecting ComponentsDirect link to 1.2. Adding and Connecting Components
To construct your process, drag a component from the palette onto the canvas, or click it in the palette and click on the canvas where it goes. From there, you can arrange the components, define their specific properties in the right-hand panel, and connect them with sequence flows (arrows) to establish the workflow's path.
The context pad of a selected element is the fastest way to build: its icons append an end event, a gateway, a task or an intermediate event right after the element (already connected), draw a connection to another element, change the element type (wrench) or delete it. Double-click an element to type its name.

1.3. The Builder at a GlanceDirect link to 1.3. The Builder at a Glance
Since version 8.6 the builder has a modern look: each step is a card with a colored bar and icon for its type (purple for tasks, blue for user tasks, green for send tasks), gateways are orange diamonds, and the start and end events are green and red circles. When you select an element, a context pad lets you append the next element, connect it, change its type or delete it. Zoom controls sit at the bottom left (zoom out, back to 100 %, zoom in, Show the whole process), and the action rail on the right gives access to Test the process, Process settings, Measures, the search in the process, the scheduled tasks and the History of the process.

See Process & Design for a tour of every area of the builder.
2. Process Settings (General Configuration)Direct link to 2. Process Settings (General Configuration)
The Process settings panel is where you define the core properties of your process: its name, the name of its instances, who can start it and the page that shows an instance. Open it with the Process Settings button (gear icon) of the action rail on the right of the builder; a Documentation link sits at its top.

2.1. How to Use the Process SettingsDirect link to 2.1. How to Use the Process Settings
The panel is split into three groups: General information, Instance page and Configuration. Here’s a detailed look at each field:
Name: This serves as the primary identifier for your process within the Softyflow environment. It's important to choose a name that is both clear and descriptive, as it will be displayed in process lists, reports, and other areas of the application.
Instance Name: This field allows for dynamic naming of each new process instance that is initiated. You can incorporate variables to generate unique and informative names, such as
Request_{{request_id}}, which would produce instance names like "Request_001," "Request_002," and so on. This greatly simplifies tracking and identifying individual instances.Who can start it: This setting is used to control which users can initiate and interact with the process. You can select one or more user roles (e.g., "Admin," "Manager"). Only users who are members of the selected roles will have the ability to see and use this process.

reCAPTCHA: shown only when the public role can start the process; protect the public start of the process with a reCAPTCHA.
Start by an API on behalf of the caller: off by default. An API or an MCP tool can start this process on behalf of the user who calls it, when its action or code asks for it (see launchProcess). That user must be in Who can start it, and the instance belongs to them. The setting is saved on the new version: deploy it to UAT and PROD, like the roles.
Interface (Instance page): This links your process to a specific web interface. You should select the interface that houses the screen you intend to use for viewing process instances. This is often a dashboard or a detailed view page.
Screen (Instance page): After you've selected an interface, this field allows you to choose the exact screen where users will be redirected to view the details of a process instance. This screen typically displays instance data, progress, and other relevant information.
Who can see it (Instance page): This setting determines which user roles are permitted to access the view page. This provides an additional layer of security, enabling you to, for instance, grant "Managers" the ability to view the progress of a request, even if other roles are responsible for initiating it.
Open the task (formerly Redirect): When enabled, this option automatically redirects users to their active task page if they have the necessary permissions. This feature streamlines the user experience by eliminating unnecessary navigation steps. (Note: This option does not support delegation or subprocesses.)

- Send UAT mails to SF_initiator (Configuration group): Enabling this option ensures that all User Acceptance Testing (UAT) related email notifications are sent directly to the process initiator (SF_initiator). This is particularly useful during testing and pre-production phases to confirm that the initiator receives all relevant UAT communications, such as approval requests and status updates.

3. Understanding BPMN ComponentsDirect link to 3. Understanding BPMN Components
A process is composed of a sequence of components connected by sequence flows (arrows) that dictate the workflow's path. Softyflow supports the three main categories of BPMN components: Events, Tasks, and Gateways.
3.1. EventsDirect link to 3.1. Events
Events represent something that happens during the course of a process. They can signify the start of a process, an occurrence during the process, or the end of a process.
3.1.1. Start EventDirect link to 3.1.1. Start Event
Every process must have a Start Event. It is the official entry point for your workflow.
- How to use: Drag the green circle (Start Event) from the palette to begin your process diagram. A new process already has one.

3.1.2. Intermediate EventsDirect link to 3.1.2. Intermediate Events
Intermediate Events occur during the execution of a process and are used to handle various conditions, throw signals, or redirect the workflow based on specific criteria.

- They occur between other components in the process, or are attached to the border of a task (boundary events).
- They are useful for handling errors, managing exceptions, or redirecting the flow of the process.
- They are not in the palette. To attach a timer or an error event to a task:
- Select the task, then drag the Append Intermediate/Boundary Event icon of its context pad onto the border of the task: the event sticks to the border and becomes a boundary event. A simple click on the icon adds an intermediate event after the task, in the flow, without any setting: drag that event onto the border of the task to attach it (its incoming flow is removed).
- Select the event and choose its type with the wrench (Change type): Timer Boundary Event or Error Boundary Event.

3.1.3. Timer EventsDirect link to 3.1.3. Timer Events
Timer Events are used to trigger actions after a specified delay. This allows you to schedule tasks or introduce time-based logic into your workflow. A timer attached to a user task interrupts it: when the delay is over and the task is still waiting, the task is ended and the workflow follows the path that leaves the timer. Select the timer to set its delay in minutes in the panel (Start in, a number or a variable such as {{ delay }}).
The Change type menu does not offer the non-interrupting timer. Its Every field is only shown for a non-interrupting timer already in the diagram (for example in an imported BPMN file), and it has no effect: the engine only uses the Start in delay of a timer.

3.1.4. End EventDirect link to 3.1.4. End Event
Every path within your process must ultimately lead to an End Event. This component signifies the completion of the workflow or a specific path within it.
- How to use: Drag the red circle (End Event) onto the canvas, or use Append EndEvent in the context pad of the last step, to mark the conclusion of a process path.

3.2. TasksDirect link to 3.2. Tasks
Tasks represent units of work that are performed during a process. These can be automated system actions or tasks that require human interaction.
3.2.1. Empty Task (Normal Task)Direct link to 3.2.1. Empty Task (Normal Task)
Element Type: bpmn:Task
An Empty Task (also known as a Normal Task) is a versatile component used for automated steps that do not require human intervention. It is ideal for executing backend logic, such as running scripts, performing calculations, or integrating with external systems via APIs.
- How to use: Drag the Task (the purple rectangle of the palette) onto the canvas. You can then use the Input/Output panel to configure the scripts or actions that will be executed automatically when the process reaches this step.

3.2.2. User TaskDirect link to 3.2.2. User Task
A User Task represents a step in the process that requires a person to perform an action. This could involve filling out a form, approving a request, or providing input.
- How to use: Drag the User Task (the blue rectangle with a person icon) onto the canvas. You can then link it to a specific web form and assign it to individual users or entire user roles.

3.2.3. Send TaskDirect link to 3.2.3. Send Task
A Send Task is an automated task that sends an email. This is particularly useful for sending notifications, alerts, and other forms of automated communication to users or external systems.
- How to use: Drag the Send Task (the green rectangle with an envelope icon) onto the canvas and configure the email recipients, subject, body and mail priority (see Send Task).

3.3. GatewaysDirect link to 3.3. Gateways
Gateways are used to control the flow of the process. They allow you to create branches, parallel paths, and decision points in your workflow.
3.3.1. Exclusive Gateway (XOR)Direct link to 3.3.1. Exclusive Gateway (XOR)
An Exclusive Gateway creates a decision point in your process where only one path can be taken. The choice of path is determined by evaluating conditions you define for each outgoing sequence flow.
- How to use: Drag the Exclusive Gateway (the orange diamond with an X) onto the canvas and connect it to multiple outgoing paths. Then write a condition for each path:
- when the gateway has exactly one incoming flow, select it: its Exclusive Gateway Configuration lists every outgoing flow (Flow 1, Flow 2…, or the name of the flow) with its Condition;
- when it has several incoming flows, this section shows Gateway Configuration Not Available: select each outgoing flow instead and click Add Condition For This Flow (see Sequence Flow).
- Which path is taken: only one. If several conditions are true, the last true flow of the list wins, so write conditions that exclude each other: with
amount > 100on Flow 1 andamount > 1000on Flow 2, an amount of 5000 follows Flow 2. If no condition is true, the flow whose condition isdefaultis taken, and without such a flow, the first outgoing flow.
The help of the Condition field ("Leave empty for default flow") and the placeholder of the last flow ("Default flow (leave empty)") suggest otherwise, but an empty condition is never true. To create a default flow, write default as its condition (see Sequence Flow).

3.3.2. Parallel GatewayDirect link to 3.3.2. Parallel Gateway
A Parallel Gateway is used to split the workflow into multiple paths that run concurrently. It can also be used to merge these parallel paths back together, ensuring that all parallel activities are complete before the process continues.
- How to use: Drag the Parallel Gateway (the orange diamond with a plus sign). All outgoing paths from this gateway will be activated simultaneously; a second parallel gateway joins them.

4. Input/Output VariablesDirect link to 4. Input/Output Variables
Tasks in your process can process and transform data before and after their execution using Input/Output variables. This feature supports several methods for data manipulation:
- Scripts: Write custom JavaScript code with full access to the Softyflow SDK.
- Expressions: Use simple expressions for direct value assignments.
- Actions: Utilize a visual workflow builder to define data transformations without writing code.
For more detailed documentation on data transformation and variable mapping, please refer to the Input/Output Parameters section.