- Design a BPMN process with multiple node types
- Create user-facing forms
- Integrate with external systems
- Handle branching logic based on business rules
- Send notifications
- Access to FlowX Designer
- A workspace and project set up (create one here)
What you’ll build
A customer requests a new credit card through a bank app. The process:- Collects personal information
- Checks credit score automatically
- Assigns a card type based on the score
- Sends confirmation email
- Lets the user pick a branch for card pickup

Download this process
Step 1: Create the process
Open your project
Create a new process
credit-card-request.Add a Start Event
Learn more about processes
Step 2: Collect user data (User Task)
The first step is collecting the customer’s personal information.Add a User Task
Fill Personal Data.Design the form
- Full name (text input)
- Email (text input with email validation)
- Date of birth (date picker)
- Annual income (number input)
Configure the data model
application.fullNameapplication.emailapplication.dateOfBirthapplication.annualIncome
Add a Continue button and wire it
saveData, set to Manual so it waits for the user, so you do not have to create one.In the UI Designer, drag a Button onto the screen and label it Continue. In its Event Handlers section, click +, choose the On Click trigger, set Action Type to Node Action, and select saveData.Under Add form to submit, select your form. This validates the visible fields and sends their values with the action.Learn more about User Tasks
Event Handlers
Step 3: Check credit score (integration workflow)
Call an external credit scoring service automatically. In FlowX, integrations run as Workflows: lightweight flows that call external systems through Data Sources, triggered from your BPMN process with a Start Integration Workflow action.Create the credit-scoring workflow
Add a Send Message Task with a Start Integration Workflow action
${processInstanceData.application.annualIncome}) as workflow input.Add a Receive Message Task
application.creditScore.Learn more about the Start Integration Workflow action
Step 4: Branch based on credit score (Exclusive Gateway)
Different credit scores qualify for different card types.Add an Exclusive Gateway
Configure branch conditions
- Branch 1:
application.creditScore >= 700→ Premium card - Branch 2:
application.creditScore >= 500→ Standard card - Branch 3: Default → Basic card
Add Service Tasks for each branch
Add a closing Exclusive Gateway
Learn more about Gateways
Step 5: Show results and confirm (User Task)
Let the customer review their card type and confirm.Add a User Task
Review and Confirm.Design the confirmation screen
Add the Confirm button
Confirm in the UI Designer and give it an On Click event handler with Action Type set to Node Action, pointing at this node’s saveData action, exactly as you did in Step 2.Step 6: Send notification and register (Parallel Gateway)
After confirmation, two things happen simultaneously:Add a Parallel Gateway
Branch 1: Send confirmation email
Branch 2: Register in bank system
Add a Closing Parallel Gateway
Learn more about Notifications
Step 7: Select pickup location (Service Task + User Task)
Let the customer choose where to pick up their card.Add a Service Task to fetch locations
Add a User Task
Step 8: End the process
Add a Receive Message Task
Add an End Event
Test your process
Save and validate
Start a process instance
Check the token

