Tree Procedure

Print Friendly, PDF & Email

◷ Reading Time: 3 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 which 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:

Techniques

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. Name: Name of the tree procedure
  2. Enables: Whether it is enabled

Toolbox

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. Move down the selected node: Move a node
  2. Move up the selected node: Move a node up
  3. Delete selected node: Delete a node
  4. Show properties of node: Show properties of a node
  5. Expand tree: Show more of a tree node
  6. 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 (Sample-tree-procedure.zip) using the attachment.

Updated on August 13, 2019

Article Attachments

Was this article helpful?

Related Articles