

Designing Processes › Process Loops and Iterations › Loop a Process
Loop a Process
To run a process many times, create a cyclical branch in a process object instead of using the Start Process operator to call a process repeatedly from another process. This method involves looping a process cyclically by placing two Start operators. One Start operator goes at the beginning and another Start operator goes at the end.
Follow these steps:
- Open and check out a process.
- Place the following operators:
- Start
- Stop Success
- Stop Failure
- A series of operators that you want to repeat.
- Add a Start operator at the point in the sequence where it ends and where you want to restart the branch.
- Link the last operator in the branch to the second Start operator. The Start operator has an entry link that allows it to be placed at the end of a sequence of steps.
Note: When the processing sequence arrives at the second Start operator shown in the figure, it reinitializes all operators and restarts the process.
- To interrupt this type of cyclical process, incorporate logic that leads out of the cyclical branch. Add an exit port on an operator which leads directly to a Stop operator or a different branch.
Copyright © 2014 CA.
All rights reserved.
 
|
|