Skip to content

Inline Flow (event actions)

Inline Flow is a sequence of actions inside an element’s event handler; it executes actions but does not return data.

Inline Flow is a sequence of actions you add directly inside an element’s event handler (for example: click, submit, change). It executes actions in order, but it does not return data as a reusable result object.

WARNING: Inline Flows don’t return data. If you need results (data out), use an App Flow or Page Flow.

Fast
Great for small glue Few actions
In-page
Lives on an element Event-driven
No outputs
Executes actions No return data
Use Inline Flow for simple UI glue: toggle, show/hide, small sequences of actions.
Keep it short; if it grows, move it into a Page Flow or App Flow.
Remember: App Connect event expressions are not JavaScript — use App Connect actions/expressions only.

Inline Flow is best when the logic is tied to one element/event and stays short and readable.

Tied to one UI event (click/submit/change).
Short sequence of actions (UI glue, trigger an action, show a toast).
No returned data object (side effects only).

Upgrade when the sequence becomes complex, you need reuse, or you want a clean inputs/outputs contract.

Upgrade for reuse: the same workflow is needed in multiple places.
Upgrade for clarity: the inline sequence becomes hard to understand/maintain.
Choose Page Flow for page-specific orchestration; choose App Flow for isolated reusable workflows that return results.

Review what you did and choose a next tour.

Pick a related tour to continue.