Previous Topic

Book Contents

Book Index

Next Topic

Implementing Loops Using Subworkflows (Recursion)

You can implement a cycle using recursion.

It is possible to nest a workflow into itself using the Subworkflow node (see Types of Workflows) calling the same workflow.

The advantage of this method is that you can keep all the information about the state of each workflow and no data is lost.

The disadvantage is that the number of nesting levels is limited by the computing memory of your computer. Therefore, caution must be used when implementing recursion for very large object sets.

See Also

Implementing Loops

Implementing Loops Using Reset Transition