

Designing Processes › Process Operators › The Stop Operator: Success or Failure
The Stop Operator: Success or Failure
Terminate a process by linking the final operator in a sequence to a Stop operator. A process can have multiple Stop operators on different branches. A Stop operator processed on any branch has no exit and terminates processing of the entire process. Stop operators can optionally be configured to terminate a calling loop in another process.
Follow these steps:
- Open and check out a process.
- In the Operators palette, drag a Stop Success or a Stop Failure operator to your process.
- Double-click the Stop operator to open the Properties palette.
- In the Stop section, specify the integer value returned by the process in the Result field and choose a value for the End Type field.
- To end the process normally, click Stop Success and enter a Result value of 1. The Result value 1 causes a completed process to exit when the process is called from a Start Process operator in a parent process.
- To end the process abnormally, click Stop Failure and enter a Result value of 0. The Result value 0 causes an aborted process to exit when the process is called from a Start Process operator in a parent process.
- (Optional) Instead of using these default result settings, you can specify any expression that returns an integer. The expression should return a non-zero integer to indicate that the process completed normally or zero to indicate that the process completed abnormally.
- Select the Break Calling Loop check box to break a calling loop. If the process was called from a looping operator in another process, this option breaks the loop when processing returns from this Stop to the other process. Clearing this check box allows a calling loop to continue.
- Select the Ignore Running Tasks (Immediate Stop) check box to stop processing the process immediately when the Stop is executed. This interrupts any other operators that are still active elsewhere in the process. Clear this check box to allow ongoing operators to terminate normally before stopping the process.
Copyright © 2013 CA.
All rights reserved.
 
|
|