Subtrees

<< Click to Display Table of Contents >>

Navigation:  Modules > Workflow Automation > Decision Trees >

Subtrees

Any Decision Tree can call another Decision Tree at any given Node.  The called tree is considered to be a subtree.  The subtree will execute completely until it reaches a terminal node or terminates unexpectedly.  Once the subtree completes, it will return to the parent tree, which will then pick up where it left off.  If the subtree returns a severity code of Success, then the parent tree will progress to the next node.  Otherwise, the entire tree's processing will stop as the subtree encountered an issue that must be remediated before further tree processing is possible.

Subtrees operate on the same thread as the parent and will write their results to the thread's work and history logs.

Subtrees can be called recursively - meaning a subtree can call another subtree - so long as the recursive call does not create a loopback.

A Node that is set to call a subtree can do nothing more than call the subtree.  No condition and no test will be conducted as part of the Node that called the subtree.