Skip to main content
While most process flows progress in a forward direction, FlowX.AI provides capabilities for moving backwards in a process flow. This feature allows users to revisit previous steps without losing their progress or data, enhancing the flexibility and user-friendliness of your apps.
Back Action Configuration

Back Action Configuration

What is token resetting?

Token Concept

In FlowX.AI, a token represents the current position within a process instance. It moves from one node to another as the process executes, carrying process data and state information. Normally, tokens advance forward through the process flow, but sometimes you need to allow users to go back to previous steps.

Process Tokens

Learn more about tokens and how they drive process flow

Process Instances

Understand how processes execute in FlowX.AI

Why use backwards navigation?

User Experience

Allows users to correct mistakes or review previous inputs without starting over

Process Flexibility

Creates more natural and less rigid process flows that adapt to user needs

Data Preservation

Maintains important data while allowing selective changes to specific fields

Reduced Abandonment

Decreases process abandonment rates by allowing users to navigate freely

How token resetting works

When a user navigates backwards in a process:
  1. The current token is marked as aborted
  2. A new token is created at the target node (the previous step)
  3. Data is selectively copied from the original token to the new one
  4. Any subprocesses started between the original and new positions are aborted
  5. The process continues from the reset position with the new token
The token can only be reset to specific actions on specific nodes that have been configured to allow backwards navigation.

Configuring backwards navigation

Back navigation is configured at two levels: the node (can users return to this step at all?) and one of its actions (what do users re-execute when they return, and what happens to the data?).
1

Identify target steps

Determine which user tasks users should be able to return to. Typically, these are:
  • Form submission steps
  • Points where users might need to correct previous inputs
  • The beginning of logical sections in your process
2

Turn on Can go back? on the nodes

  1. Select the user task node
  2. In the node configuration, toggle Can go back? ON
As the token advances through the process, each node with Can go back? turned on is recorded as a valid return point for that process instance. A node with it turned off cannot be returned to.
3

Turn on Allow back to this action

  1. On the target node, add or edit a Manual action (typically the action that saves and submits that screen’s data)
  2. In the action configuration, under Navigation, toggle Allow back to this action ON
Back Action Configuration

Back Action Configuration

Allow back to this action is available only for actions with the Manual trigger. When a mandatory action with this option runs, the engine saves a snapshot of the process data, so the data can be restored if the user later returns to this step.
Only configure “back” functionality on actions that make logical sense as return points in your process. Too many back points can make process state management complex.
4

Configure data handling

Turning on Allow back to this action reveals the Back in steps section. The When returning to this action, reset process data toggle decides what happens to process data when the user comes back:
  • Toggle OFF (default): the process keeps its current data. Use Remove the following objects from current state to list process keys that should be deleted when the user navigates back.
  • Toggle ON: the process data is restored to the snapshot taken when this action first ran. Use Copy the following objects from current state to list process keys that should keep their current values instead of being restored.
Generally, keep contextual or reference data and reset only the data related to the step being revisited.
5

Let users navigate back from the process navigation

Users trigger back navigation from the rendered navigation itself. There is no separate Back button to configure:
  • In a Stepper navigation area, completed steps become clickable. Clicking an earlier step returns the user to it.
  • In a Single Page Form layout with accordion cards, users can reopen a previous card.
After returning, the user adjusts the data and resubmits that step’s own action. The engine detects that a back-enabled action from an earlier node was executed, resets the token, and the UI re-renders from that step.Users can return to any earlier back-enabled step, not only the immediately previous one: jumping directly from step 4 to step 2 works as long as step 2 is a valid return point.
A Button on the current screen cannot trigger back navigation: the button’s Node Action event handler only lists actions belonging to the button’s own node, and there is no dedicated Back action type. Back navigation is available only through the navigation components described above.
On mobile, user tasks rendered inside a single Modal navigation area get a built-in back control between them. See Navigation best practices.
Token Reset Animation

Back Navigation in Action

Use cases for backwards navigation

In applications with multi-step forms or wizards, backwards navigation allows users to review and edit their inputs across different steps before final submission.
When users make selections that lead down specific process paths, back functionality lets them change their mind and explore alternative options.
If validation occurs after a form submission and errors are found, users can navigate back to fix issues while preserving other valid inputs.
In complex workflows like loan applications or onboarding processes, users often need to review previous sections before completing the process.

Best practices

When implementing backwards navigation:
  • Be selective about which nodes allow back functionality
  • Consider data dependencies between steps to avoid inconsistent states
  • Provide clear UI indicators for steps users can navigate back to
  • Test thoroughly to ensure data is properly preserved or reset
  • Consider subprocess implications as they will be aborted during reset
  • Document back navigation points for easier maintenance
  • Use clear step labels so users recognize which steps they can return to

Technical considerations

Keep in mind these technical aspects when implementing back functionality:
  1. Performance Impact: Token resetting involves creating new tokens and copying data, which may impact performance in complex processes
  2. Subprocess Handling: Any subprocesses active between the current and target positions will be aborted
  3. Data Consistency: Ensure your data model can handle partial updates without creating inconsistencies
  4. Action Sequencing: When the user returns to a step whose back-enabled action is optional, the engine re-runs that node’s mandatory actions. Actions that produce a different output on a second run (for example, calls to external systems) can behave unexpectedly, so review what re-executes on return
Last modified on September 17, 2026