Tree Procedure

◷ Reading Time: 4 minutes

What is Tree Procedure?

Procedural rules in a tree procedure are suitable for implementing complex rules and logic. Alternatively, there might be some parts of the application that are unclear and yet to be hard-coded. Or some logic looks as if it needs fully-fledged compiled code to handle all of the required flow controls, conditions, variable and resource access, and calculations. The fact is that all of these can be implemented as a procedural rule. So instead of hard coding them as a compiled, static and executable code you can benefit from having dynamic and flexible procedural rules and logic, then delegate the execution to our procedural rule engine in order to execute your implementation.

Complex logic may have one or more of the following behaviors:


There are two ways of entering the rules:

  1. Using mouse (drag and drop technique)
  2. Using keyboard (filter and enter technique)

By Mouse

To compose a rule using the drag and drop method involves several steps;

  1. Select an item from the toolbox
  2. Drag it over the document (blank opened rule document)
  3. Drop the item into the document.

The following table shows how to create a procedure rule and start adding the first element to the rule document:

To add a new Tree Procedure document,

Document Types --> Decision Logic --> Tree Procedure

Once you add a document, this will be the window.

Tree Procedure Properties

  1. Enabled: Whether it is enabled
  2. Name: Name of the tree procedure


The toolbox has the following items.

Complete list of commands

Check the Procedure Commands for the complete list.

Top Menu

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

  1. Open related rule document: To open the related rule document
  2. Move down the selected node: Move a node
  3. Move up the selected node: Move a node up
  4. Delete selected node: Delete a node
  5. Show properties of node: Show properties of a node
  6. Expand tree: Show more of a tree node
  7. Collapse tree: Show less of a tree node

Node Properties

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

Video Description

Sample Tree Procedure

Download the sample Tree Procedure ( using the attachment.

Updated on April 4, 2022

Article Attachments

Was this article helpful?

Related Articles