×
Menu
Index
  • Configurations

Configurations

Introduction

Configurations are the files that SoftRules® uses to store all Business Rules in. They are in fact separated files so that a Product (for example the calculation of a tariff from a certain insurance product) can be released separately from others  Products. The information in the Global Configuration are used by more than one Local Configurations. They contain for example Suppliers, TextValues, Units and Element Tables (with XML schemas).
 

Configuratie-bestanden

The configurationfiles are stored in the Project Folder. The location of the Project Folder is written in the Windows Registry.
 
Composer
HKEY_CURRENT_USER\SOFTWARE\Comparity\SoftRules\DataSets\DataSet1
Server
HKEY_LOCAL_MACHINE\SOFTWARE\Comparity\SoftRules\DataSets\DataSet1
 
When you use multiple DataSets, you'll see DataSet2, DataSet3, etc.
 
This key contains the location of the Project Folder:
 
Data_Directory
C:\SoftRules\Data\
 
 
New files are (by default) stored in the Project Folder. Example:
 
configuration_0.srcf
configuration_1.srcf
Business Rules (Products) for ConfigID = 1
configuration_2.srcf
Business Rules (Products) for ConfigID = 2
configuration_3.srcf
Etc.
 
 
 
Tip!
Using Windows Command Prompt (CMD) you can use a Type command to see more information about a .srcf (SoftRules Configuration) file.
 
Example:
 
C:\SoftRules\Data>type configuration_1.srcf
SoftRules configuration file
<description> Version 1.0.0.0
 
C:\SoftRules\Data>