Skip to main content
Available starting with FlowX.AI 5.3.0: UI Flows enable you to build reusable, multi-platform user interfaces that work across web, iOS, and Android applications.

Overview

UI Flows are a project resource for use cases where full BPMN mapping is unnecessary. Full BPMN mapping for simple UI experiences introduces overhead and complexity. UI Flows also eliminate subprocesses that add layers to the main process for UI purposes only.
UI Flows support web (Angular/React), iOS, and Android. They separate UI definitions from process logic, providing an alternative to BPMN processes when business orchestration is not required.

Multi-Platform Support

Create UI once and deploy to web, iOS, and Android with platform-specific configurations

Process Integration

Launch FlowX processes from UI Flows when needed using Start Process UI Action

Navigation Management

Manage Navigation Areas, pages, and scrolling within UI Flows Designer

Task Manager Integration

Embed Task Manager as a UI component to display task lists

Key characteristics

CharacteristicDescription
Project ResourceManaged as independent project resources, separate from process definitions
UI DesignerConfigure using UI Designer (navigation areas appear as UI assets instead of BPMN nodes)
Navigation AreasAdd navigation areas as UI assets to define the user journey
ComponentsSupports components, substitution tags, media items, and enumerations
Theme SupportThemes apply to UI Flows
Data ModelUI Flows have their own data model for localization and formatting
FLX UI Flow ComponentThe flx-ui-flow component renders UI Flows and can be embedded in any container app
Custom ComponentsCustom components can be added to UI Flows
Platform selection is permanent: When creating a UI Flow, you select a platform (web or mobile). This cannot be changed later. Changing the project-level platform setting does not update existing UI Flow resources.

When to use UI Flows

Use UI Flows for

Use UI Flows when you need a user interface without BPMN process orchestration:

Information Display

Dashboards, reports, and static content that doesn’t require process orchestration

Task Management

Task lists and task management interfaces with embedded Task Manager component

Navigation Shells

App navigation structures, home pages, and menu systems

Form Collections

Data entry forms that start processes but don’t need their own process context

Use processes for

Use processes when you need:

Business Logic

Complex workflows with business rules, approvals, and integrations

State Management

Applications requiring process state tracking and persistence

Orchestration

Multi-step operations with decision points and parallel execution

Combine both approaches

Use UI Flows as the main app shell and Start Process UI Actions to launch business processes when needed.
Example:
  • UI Flow provides the home screen, navigation, and dashboard
  • User clicks β€œApply for Loan” β†’ Start Process UI Action launches the loan process
  • After process completion, user returns to the UI Flow dashboard

Key features

What’s included in UI Flows v1:
  • Create and render UI Flows for Web, iOS, and Android platforms
  • Navigate between Navigation Areas with Navigate To action
  • Embed Task Manager component for task management
  • Configure UI Flow data model for localization
  • Start FlowX processes from UI Flows via Start Process action
In UI Flows Designer:
  • Create pages and navigation flows
  • Configure navigation areas (Page, Tabbar, Zone, Modal)
  • Set up header and footer zones (web only)
  • Define home pages with navigation icons

Start Process UI Action

Launch FlowX processes from UI Flows:
  • Start processes on button clicks or events
  • Pass data from UI Flow to process
  • Return to UI Flow after process completion
Configure navigation within UI Flows:
  • Navigate to specific Navigation Areas
  • Scroll to Container elements
  • Create multi-step wizards

Task Manager component

Embed Task Manager in UI Flows:
  • Display task lists
  • Filter and search tasks
  • Launch tasks in context

Home page support

  • Designate any page as the home page
  • Automatic home icon in navigation
  • Return to home from any screen

Import/Export

  • Export UI Flows as portable packages
  • Import into different projects or environments

Creating a UI Flow

1

Create UI Flow resource

In FlowX Designer, navigate to your project and create a new UI Flow as a project resource.
  • Navigate to UI Flows tab
  • Click + Add button
  • Enter a name and description
  • Select platform (Web or Mobile)
2

Design navigation structure

Open UI Flows Designer and manage Navigation Areas:
  • Add Navigation Areas (pages)
  • Configure navigation type (Single Page or Wizard)
  • Setup zones (header, content, footer) for web
  • Define navigation flow between areas
3

Add UI components

Build your interface using the component library:
  • Drag and drop UI components
  • Configure component properties
  • Add Task Manager component if needed
  • Setup data bindings
4

Configure UI actions

Setup interactivity and navigation:
  • Start Process: Launch processes when needed
  • Navigate To: Move between Nav areas or scroll to containers
  • External: Open a link in a new tab
5

Set home page (optional)

Designate a page as the home page:
  • Select the Navigation Area
  • Mark as β€œHome Page”
  • Configure home icon appearance
6

Test and validate

Test your UI Flow:
  • Preview across platforms
  • Test navigation flow
  • Verify Start Process actions work
  • Check Task Manager integration

Configuring Start Process UI Action

The Start Process UI Action allows you to launch FlowX processes from UI Flows. Although UI Flows do not require a process and user tasks, they support actions for process initiation.

How it works

When a process is started from a UI Flow:
  1. The FlxProcessRenderer component is dynamically added, replacing the UI Flow content
  2. The process renderer inherits configuration from the UI Flow and shares common stores:
    • API URL and static assets path
    • Workspace and project IDs
    • Language and locale settings
    • Build information
    • Theme and fonts
    • Substitution tags and media items
When configuring the FlxUIFlow component in your container app, ensure the processApiPath parameter is set to enable process starting capabilities.

Configuration steps

1

Add button or trigger

Add a UI component that will trigger the process (typically a Button).
2

Add UI Action

Configure the UI Action:
  • Click Add UI Action
  • Select Start Process type
  • Choose the process definition to start from the dropdown
3

Configure forms and data

The Start Process action allows you to configure:
  • Process selection: Select the process to start
  • Forms to submit: Choose which forms to include with the start request
  • Custom body: Define which data to send as start parameters
{
  "customerId": "${uiData.customer.id}",
  "applicationAmount": "${uiData.amount}"
}
4

Configure behavior

Set what happens after process starts:
  • Navigate to process UI
  • Stay in UI Flow
  • Show confirmation message
5

Optional: Add analytics

Configure analytics tracking:
  • Analytics name: Set a name for tracking
  • Custom payload: Add additional data for analytics

Configuring Navigate To UI Action

The Navigate To UI Action handles navigation within UI Flows and scrolling to specific elements. The Navigate To action either routes (changes the URL/view) or scrolls (anchor navigation) depending on the context:
ScenarioBehaviorExample
Destination inside same Navigation Area (single page)ScrollButton in Card X scrolls to Card Y within the same Page
Destination inside same Navigation Area (wizard navigation)RouteButton navigates to next step in a wizard Page
Destination outside Navigation Area, different rootRouteButton in Page 1 navigates to Page 2
Destination outside Navigation Area, same root (wizard)RouteButton in Zone 1 routes to Zone 2 within a wizard Page
Destination outside Navigation Area, same root (single page)ScrollButton in Zone 1 scrolls to Zone 2 within a single-page layout
Destination is a ModalRouteButton opens Modal as a routed view
Example layout:
Page 1 - Single page form
β”œβ”€β”€ Zone - Header
β”‚   └── Card 1 (Button 2)
β”œβ”€β”€ Zone - Content
β”‚   β”œβ”€β”€ Card 2 (Button 1)
β”‚   β”œβ”€β”€ Modal
β”‚   β”‚   └── Card 8
β”‚   β”œβ”€β”€ Card 9 (Button 3)
β”‚   └── Card 10 (Button 4)
└── Zone - Footer
    └── Card 3

Page 2 - Wizard navigation
β”œβ”€β”€ Card 4
β”œβ”€β”€ Card 5
└── Card 6
Action outcomes:
ActionDestinationResult
Button 1Modal/Card 8Route to modal
Button 2Card 10Scroll to Card 10
Button 3Card 4 (Page 2)Route to Page 2, Card 4
1

Add navigation trigger

Add a Button or menu item that triggers navigation.
2

Configure Navigate To action

  • Add UI Action β†’ Navigate To
  • Select target: Navigation Area
  • Choose the destination Navigation Area
Available destinations include all Navigation Areas in the hierarchy plus first-level children (Card, Container, Custom).
3

Optional: Pass data

Configure data to pass to the destination area if needed.

Scroll to Container

1

Identify target container

Ensure the target Container component has a unique identifier.
2

Configure Navigate To action

  • Add UI Action β†’ Navigate To
  • Select target: Container Element
  • Enter the container identifier
  • Configure scroll behavior (smooth, instant)

Embedding Task Manager

Add Task Manager as a UI component in UI Flows to display task lists without requiring a process.
1

Add Task Manager component

In UI Flows Designer, add the Task Manager component to a Container or Card.
2

Select a view

Configure which view to display in the Task Manager:
  • Select the view you want from your available views list
  • Each view can have different columns, filters, and sorting options

Routing

UI Flows use a simplified routing approach for navigation:
Route TypeDescription
UI Flow RouteThe base route is defined by the UI Flow where the FLX UI Flow component is added
Process Instance RouteWhen a process is started from a UI Flow, an additional route segment is added based on the process instance UID

Browser back button support

When a process starts from a UI Flow, a new route is created based on the process instance UID. Users can return to the UI Flow using the browser’s back button.
Future enhancements: Additional routing logic is planned for future iterations, including routes defined based on multiple root navigation areas and new action types for navigation.

Platform considerations

Full Feature Support:
  • All UI component types available (except File upload)
  • Navigation Areas with zones (header, content, footer)
  • Full wizard and single-page navigation
  • Task Manager component integration
Excluded Navigation Areas:
  • Stepper & Step
Excluded Components:
  • File upload
Available Root Navigation Areas:
  • Page
  • Tabbar
  • Zone
Component Hierarchy:
Page (multiple allowed)
β”œβ”€β”€ Card
β”œβ”€β”€ Container
β”œβ”€β”€ Custom
β”œβ”€β”€ Modal
β”œβ”€β”€ Zone
└── Tabbar

Tabbar
└── Tab (multiple allowed)
    β”œβ”€β”€ Card
    β”œβ”€β”€ Container
    β”œβ”€β”€ Custom
    β”œβ”€β”€ Modal
    β”œβ”€β”€ Zone
    └── Tabbar

Modal (multiple allowed)
β”œβ”€β”€ Card
β”œβ”€β”€ Container
└── Custom
Use the platform selection subheader in UI Designer to switch between platforms and configure platform-specific behaviors.

Best practices

Architecture

Use UI Flows for UI Logic

Keep navigation, layout, and presentation in UI Flows

Use Processes for Business Logic

Delegate complex business operations to processes via Start Process action

Minimize Data in UI Flows

UI Flows are stateless - pass necessary data to processes when starting them

Reuse Across Projects

Design UI Flows for reuse across multiple apps

Design

DO: βœ… Create clear navigation hierarchies
βœ… Use descriptive names for Navigation Areas
βœ… Test on all target platforms before deployment
βœ… Configure accessibility properties for mobile
βœ… Use Task Manager component for task-centric applications
DON’T: ❌ Duplicate business logic in UI Flows and Processes
❌ Create overly complex navigation structures
❌ Ignore platform-specific limitations
❌ Skip accessibility configuration for mobile apps
❌ Use UI Flows when you need process state management

Migration from subprocess-based navigation

If you currently use subprocesses for UI-only scenarios, consider migrating to UI Flows:
1

Identify UI-only subprocesses

Review your subprocesses and identify those that:
  • Only display UI without business logic
  • Act as navigation shells
  • Could be replaced with simpler UI
2

Create equivalent UI Flow

Build a UI Flow that replicates the UI functionality:
  • Create Navigation Areas matching subprocess pages
  • Add UI components
  • Setup navigation using Navigate To actions
3

Migrate process launches

Replace subprocess starts with Start Process UI Actions:
  • Keep actual business processes as processes
  • Launch them from UI Flows when needed
4

Test thoroughly

Verify functionality across platforms:
  • Navigation works correctly
  • Process launches function properly
  • Data flows as expected
5

Deprecate old subprocesses

Once validated, remove the unnecessary subprocess layers.

Limitations and compatibility

Current limitations

UI Flows v1 has the following limitations:
  • Data Persistence: UI Flows don’t persist data like processes do - data must be passed to processes for storage
  • Data Fetching: UI Flows cannot directly fetch data from external systems - use Start Process action to retrieve data via process integrations
  • Back Navigation: Limited back navigation compared to process-based flows
  • Complex Conditionals: For complex business rules, use processes instead
  • Reusable UI: Reusable UI components are not yet supported in UI Flows
  • Permission-based UI: UI visibility based on user permissions is not yet available
  • Undo-Redo: Limited undo-redo support in UI Flows Designer
  • Multi-Instance (Concurrent): While a UI Flow can launch multiple process instances (for example, separate buttons for mortgage or credit card applications), it cannot yet have multiple instances running concurrently from the same page

Future enhancements

Planned for future releases:
  • Data fetching: Retrieve data from FlowX or external systems via workflow API integration
  • Reusable UI integration: Integrate reusable UI components in UI Flows with input/output parameters and data mappers
  • Permission-based UI: Configure UI visibility and behavior based on user permissions
  • Enhanced resource management: Undo-redo, caching, resource usages, merge conflicts, and audit logging
  • Advanced actions: Start project with entrypoint, start process/project with mappings
  • Additional UI components: Modal as UI element, Process component, Chat component
  • AI integration: AI-powered features for UI Flows

Troubleshooting

Possible causes:
  • Process definition not published
  • Missing required process parameters
  • Insufficient permissions
Solutions:
  • Ensure process definition is published in target environment
  • Verify all required parameters are mapped in UI Action
  • Check user has permission to start the process
  • Review browser console for error messages
Possible causes:
  • Task Manager not properly configured
  • User doesn’t have tasks
  • Filter configuration too restrictive
Solutions:
  • Verify Task Manager component configuration
  • Check user has assigned tasks in Task Manager
  • Review and adjust filter settings
  • Ensure Task Manager service is running
Possible causes:
  • Wrong platform selected in preview
  • Configuration not saved
  • Cache issues
Solutions:
  • Switch platform tabs and verify configuration
  • Save UI Flow and refresh browser
  • Clear browser cache and reload
  • Test on actual device if possible

Last modified on December 24, 2025