Try OpenEdge Now
skip to main content
OpenEdge Business Rules
Introducing OpenEdge Business Rules : Tasks : Adding Business Rules libraries to PROPATH
 

Adding Business Rules libraries to PROPATH

You can configure an OpenEdge project with Corticon settings to run Corticon-related functionality from within Progress Developer Studio for OpenEdge. To do so, you must add the Business Rules libraries (OpenEdge.BusinessRules.pl file) to the list of procedure libraries appended to PROPATH in Progress Developer Studio for OpenEdge.
Note: You must also add these entries to the PROPATH of any production environments.
To add the Business Rules libraries to PROPATH:
1. Select a project in the Project Explorer view and select Properties from the context (right-click) menu or select Project > Properties from the main menu bar.
The Properties page for the selected project appears.
2. Select Progress OpenEdge > PROPATH.
Note: For a shared AVM project, select Window > Preferences > Progress OpenEdge > Shared AVM > PROPATH.
3. Select Add External Library and select the OpenEdge.BusinessRules.pl file from the file system.
Note: If the project uses GUI as the runtime, the OpenEdge.BusinessRules.pl file is located in @{DLC}\gui\rules and if the project uses TTY as the runtime, the file is located in @{DLC}\tty\rules, where DLC is the default installation directory.
The selected procedure library appears in the PROPATH section (the left pane on the PROPATH properties page.
4. To use the output of the GetMessages()API (which, returns the messages for the most recent decision service invocation), add the @{DLC}\gui\rules or @{DLC}\tty\rules folder to the PROPATH along with the OpenEdge.BusinessRules.pl file by selecting Add External Directory on the PROPATH properties page.
5. Click OK.
Note: You can also add PROPATH entries while creating a project using the Define PROPATH page.