Generic Flow

◷ Reading Time: 5 minutes

What is Generic Flow?

Generic 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 are isolated executable unit of work that carries a goal to be met. A node in the FlexRule Generic 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.


In a Generic 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:


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


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

Exception information

E.g. An exception message can be assigned.


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 Generic Flow document,

Document Types --> Business Logic --> Generic Flow
New logic document modal showing Business Logic documents with the Generic Flow document type selected

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

Generic Flow document type open showing the drawing canvas and Toolbox options

Generic Flow Properties

Generic Flow properties modal
  1. Name: Name of the Generic 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

Generic 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.

Top menu showing the below mentioned menu items
  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.

Video Description

Sample Generic Flow

Download the sample Generic Flow using the attachment.


Updated on December 19, 2023

Article Attachments

Was this article helpful?

Related Articles