Activity Flow

◷ Reading Time: 6 minutes

This page is under development.

What is Activity Flow?

Activity Flow allows you to orchestrate the execution of multiple activities, tasks, or logic documents.

The flow consists of a set of:

  • Nodes
  • Transitions
Example of a Generic Flow diagram showing a car insurance premium decision

For information and guide on using the tools, elements and menu items to draw diagrams see our Building Diagram Documents resource hub article.

Nodes

Nodes are isolated executable unit of work that carries a goal to be met. A node in the FlexRule Activity Flow engine can simply be:

  • an activity to be executed
  • a rule to be evaluated
  • a decision to be taken
  • and so on…

However, a node has no notion of sequence or succession. A node may have some Incoming and Outgoing transitions.

Transitions

In an Activity Flow, transitions are responsible for connecting one activity to another. This is the execution transition between different nodes in the flow. Most transitions just model the next step in a flow by pointing the attribute to the next node. However, sometimes a transition may have the following properties:

Conditions

E.g. Transitions that go away from a Decision node can have conditions.

Priority

E.g. Transitions that go away from a Decision node can have priorities.

Exception information

E.g. An exception message can be assigned.

Expression

E.g. A variable assignment can be done instead of adding an Assign node or Activity node.

These attributes of transitions allow the handling of complex behaviors in a flow.

Must-have Nodes

All flows must have at least a Start node and an End node.

To add a new Activity Flow document,

Document Types --> Business Logic --> Activity Flow
Create Activity flow V10


Once you added a term, this will be the window.

Activity Flow Properties

Properties Activity flow V10
  1. Name: Name of the Activity flow
  2. Variable Definition: Define variables to be used in the flow
  3. Types Definition: List of types and functions
  4. Glossaries: Link Business Glossaries and Business Formulas

Activity Flow Toolbox

The toolbox has a number of nodes that can be added to the flow.

Generic Flow toolbox menu
Complete list of commands

Check the Flow Commands for the complete list.

Top Menu

At the top menu, you can see the following items.

Tool bar for Flow V10
  1. Open the related logic document for this node: Open the logic document of a selected node
  2. Create a logic document for selected node: Create a logic document for a selected node
  3. Delete item: Delete a selected item
  4. Highlight the impacts of the selected node: Highlight the impacts of a selected node
  5. Properties: Properties of the page or a node
  6. Business Glossary: Link Business glossaries and Business formulas
  7. Overview of entire model: See the entire model
  8. Zooming: Zoom in or zoom out
  9. Export to image: Export the document to an image
  10. Alignments: Align nodes
  11. Resize: Resize selected nodes to a single size
  12. Layout arrangements: Automatically arrange and layout the nodes
  13. Change connections: Change connection styles to straight/ Bezier or Right Angle

Node/ Connection Properties

If you click on a node/ connection, its property window will appear. The properties vary depending on the node type.

For information and guide on using the tools, elements and menu items to draw diagrams see our Building Diagram Documents resource hub article.

Sample Activity Flow

Download the sample Activity Flow using the attachment.

Tutorial

Updated on July 29, 2026

Article Attachments

Was this article helpful?

Related Articles