- Enterprise Enabler version 5.x
- Process Designer
Create a Process
Open Enterprise Enabler and create a new process by clicking File » New » Process.

Inserting a Process Variable into the process
In the Toolbox menu go to Proc. Variables, select Proc. Variable and drag it into
the process designer area. Rename the Proc. Variable to value and set the initial value to 0.
Inserting a While node into the Process
In the Toolbox menu go to Condition & Loop Nodes, select the While node
and drag it into the process designer area.

Inserting a Custom Action node into the Process
In the Toolbox menu go to Action Nodes, select the Custom Action node
and drag it into the process designer area.

Configuring the While node
Click on the While node and open the code window by clicking the ellipsis of the Expression property in the Properties window.

Click on the Code Window tab and enter the following code:
| |
view plain | print |
| 1 |
If (ProcessVariable("value") < 4) Then |
| 2 |
Return (True) |
| 3 |
Else |
| 4 |
Return (False) |
| 5 |
End If |

Configuring the Custom Action node
Click on the Custom Action node and open the code window by clicking the
ellipsis of the Execution Code property in theProperties window.

Click on the Code Window tab and enter the following code:
| |
view plain | print |
| 1 |
ProcessVariable("value") = ProcessVariable("value") + 1 |