Skip to main content

State Views and Flow Map

The States tab of a function shows the same state definition in three views. The cards give every detail of each state at a glance; the flow maps show how records move between states. From every view you can open a state's edit page, add a state and, in the cards view, delete one.

The chosen view is kept in the page address, so a link to the States tab opens in the same view. When the tab is opened for the first time, the Cards view is shown.

Purposes of the State Views​

  • Seeing the whole workflow of a function at once, including transitions between categories.
  • Checking which buttons, tasks, notifications and conditions a state has without opening it.
  • Finding states that are never reached or that end the flow.
  • Distinguishing user buttons, reject buttons, system transitions and conditional skips.

Choosing a View​

The view switcher at the top of the tab offers:

  • Cards: Every state as a card, grouped under its category.
  • Vertical flow: A map of the states and their transitions from top to bottom.
  • Horizontal flow: The same map from left to right.

The Full screen button at the end of the bar enlarges the view to the whole window; Exit full screen or the Esc key returns to the normal page (when no drawer is open).

Cards View​

Each state category is shown as a section with its name and an Add state button that opens a new state in that category. Each state card shows:

  • Header: A color dot, the state name, the technical name under it and flags such as Start state (the default state of new records), Protected and Conditional entry.
  • Edit (pencil) button: Opens the state's edit page.
  • Delete (trash) button: Deletes the state after a confirmation. It is not shown for the start state and for states protected by the system.
  • Buttons: One chip per transition, showing the button title and the target state. When the state has no buttons, the card says "This state has no buttons." or, for a state where the flow ends, "The flow ends here".
  • Entry condition: The state's activation rule, when it has one.
  • When a record arrives: One line per task ("Task 1 · 2 assignment(s)") and per notification ("Notification 1 · language · 3 recipient(s)").

Flow Maps (Vertical and Horizontal)​

The map draws every category as a lane and every state as a box in its lane. Each box shows the state name and a short summary: Start state, Protected, the number of tasks and notifications, and the number of buttons ("2 button(s)", "no buttons" or "end" for a state where the flow ends). States with an entry condition are marked Conditional entry.

Transitions are drawn as arrows. The legend above the map explains the line styles:

  • User button: A button the user presses to move the record.
  • Reject or send back: A rejection, send-back or delete button.
  • Skipped when the condition is not met: The state the record moves to when the entry condition of the target state is not met.
  • System transition (not a button): A transition made by the system (a transition with a hidden expression); its label is followed by "(system)".

Map Controls​

  • Zoom in / Zoom out: In the top-right corner of the map; enlarge or reduce the map. The current zoom level is shown as a percentage between the buttons.
  • Fit to width: Fits the whole map to the width of the panel.
  • New state: A drop-down that lists the categories; choosing one opens a new state in that category.
  • The map scrolls inside its own panel.

State Details Drawer​

A single click on a state opens a drawer on the right; the map stays usable behind it. The drawer shows:

  • The state name, with the Start state and Protected flags.
  • Buttons: Each button with its target state; system transitions are marked "(system)".
  • For a state with an entry condition and a skip target: "If the condition is not met, the record moves on to (state)".
  • When a record arrives: The number of Tasks and Notifications (or "none").
  • Edit state: Opens the state's edit page.

Transition Details Drawer​

A click on an arrow or its label opens the transition's drawer:

  • Type: User button, Reject / send back button, System transition or Conditional transition, with a short explanation (for example "Not shown to the user as a button; code makes the transition.").
  • Transition: The From and To states. Clicking one of them selects that state on the map and opens its drawer.
  • Hidden expression (system transitions) or Entry condition (conditional transitions): the rule that decides the transition.
  • Edit source state: Opens the edit page of the state the transition starts from.

Opening a State for Editing​

A double click on a state in the map opens its edit page directly. The edit page is described in Creating a New State.

Authorization and Access Control​

Topics related to authorization and access control are detailed under User Management and Authorization.

  • Update a Function Design: Required to see the States tab, to add, edit and delete states.

Warnings and Error Messages​

  • Protected State: The start state and states protected by the system have no delete button.
  • Delete Confirmation: Deleting a state from its card asks for confirmation first.

User Tips and Best Practices​

  • Use the Map to Review, the Cards to Check Details: The flow maps show the path of a record; the cards show tasks, notifications and conditions per state.
  • Look for Dead Ends: A state marked "no buttons" that is not meant to be final usually needs a button.
  • Check System Transitions: System transitions are not shown to users; make sure the hidden expression and the code that triggers them match your process.
  • Use Full Screen for Large Workflows: Combine it with Fit to width to see the whole flow.

Frequently Asked Questions​

Why Is a Transition Drawn as a System Transition?​

The button has a hidden expression. Such actions are not offered to users as buttons; the system makes the transition.

Why Can't I Delete a State?​

The start state and states protected by the system cannot be deleted. To delete the current start state, first turn off Start state on it and make another state the start state.

Where Do I Add a State in the Flow Map?​

Use the New state drop-down above the map and choose the category, or use Add state in the cards view.