

Resources › Add a Manage Resources Operator to a Process
Add a Manage Resources Operator to a Process
After creating a resource object with one or more resources within it, add a Resource operator to a process. For example, place one Resource operator before and another one after other operators to balance load. The first Resource operator uses or takes resources and the second operator frees or gives back units, making them available to other waiting processes.
Follow these steps:
- Open a process in the Process Designer.
- Open the Process Control operator palette for your resource.
- Drag and drop the Manage Resources operator to a location in the process.
- Define the entry and exit links. The Manage Resources operator has four possible exit links:
- Completed is processed when the operator succeeds. The Result variable is set to 1 and the Reason variable is set to COMPLETED.
- Failed is processed when the Interpreter module is unable to complete the operator successfully. The Result variable is set to -1 and the Reason variable is set to FAILED.
- Timeout is processed if the resource operator is not completed within an optional specified time-out interval. The Result variable is set to 1 and the Reason variable is set to TIMEOUT.
- Custom Result is processed when execution settings determine the result. The Result variable is set to 0 and the Reason variable is set to CUSTOM.
- Double-click the Resource operator to configure options.
The Dataset and Resource Properties palettes appear.
Copyright © 2013 CA.
All rights reserved.
 
|
|