skip to main content
What's New in Corticon : What's new and changed in Corticon 5.6 : Settings to use Rule Execution Recording on Decision Services
 

Try Corticon Now

Settings to use Rule Execution Recording on Decision Services

The Rule Execution Recording feature introduced in the Corticon 5.5.2 release provided a way to record each execution's request and response as well as all rule messages into a specially designated database. (See the topic Implementing Rule Execution Recording in a database
The feature described its implementation and how to configure Corticon Deployment Descriptor (CDD) files to use the service in deployment. The mechanisms for using the recording service through other deployment packagings and toolsets are now available.
After you configure and enable a server for Rule Execution Recording, you can dynamically enable or disable use of the Execution Recording Service for individual Decision Services not deployed through CDDs in:
*Corticon Web Console - See the https://documentation.progress.com/output/ua/Corticon/#page/corticon/applications-and-decision-services.html (Decision Services deployed through CDDs must still set this property in their .cdd file)
*SOAP API - You can set PROPERTY_EXECUTION_RECORDING_SERVICE_ENABLED to true or false
*Server test scripts - The scripts accept the property name PROPERTY_EXECUTION_RECORDING_SERVICE_ENABLED followed by the value true or false in transactions 248, 249, and 250)
*In-process testing: testServer.bat (Java) and Corticon-Api-Inprocess-Test.exe (.NET)
*SOAP API testing: testServerAxis.bat (Java) and Corticon-Api-Remote-Test.exe (.NET)
To create Decision Services in test scripts, use the following transactions:
101 - Add a Decision Service (3 parameters)
102 - Add a Decision Service (6 parameters)
103 - Add a Decision Service (9 parameters)
Then, to enable rule execution recording on the Decision Service, use...
248 - Set Decision Service's Property Value
249 - Set Decision Service's Property Value (by specific Decision Service Major Version)
250 - Set Decision Service's Property Value (by specific Decision Service Major and Minor Version)
... to set the property as shown:
Enter transaction number: 248
Input Service Name: Order
Input Decision Service Property Name: PROPERTY_EXECUTION_RECORDING_SERVICE_ENABLED
Input Decision Service Property Value: true
Note: Publish deployment mechanisms from Studio cannot set this property on a server.
This material has been added to related topics in the documentation.