Import Rule
Last updated
Last updated
When importing a rule, you can create a new rule, a new version of an existing rule, or overwrite an existing rule version.
For Decision Tables, the rule file can have the formats: JSON, XLSX or CSV. Other rule types: Rule Flow, Decision Tree and Scripting rule have a single export option - JSON format.
Create a new rule in two places:
Import the rule in the Folders structure directly into the desired folder. Open the Folders structure, right-click on the folder of your choice and select "Import Rule" from the context menu.
Or you can import the new rule to the Business Rules category. Just open the Business Rule from the side menu. Click on the "Import Rule" button on the top right.
When you click on “Import”, you will be prompted to drop or choose a file from your system containing the rule.
Once your rule file has been selected, click the Import button.
You can import one file at a time.
You can import a rule as a new version of an existing rule:
Add a new version of the rule directly in the Folders structure. Right-click on the selected rule. A context menu will appear and select "Import Version"
Import version
When you click on “Import”, “Import version dialog” will appear. There you select if you want to import the file to:
Create a new version of the rule
Overwrite an existing version
Overwriting the version is an irreversible action, the overwritten rule is lost. Please use this option wisely.
After selecting the method of import drop or choose a file from your system containing the rule.
You can import one file at a time.
Or import a new rule version to the Business Rules category. Find your rule, click on the button and select “Import Version”.
These are manual methods of exporting rules. Using Management API methods and external tools you can export rules in one click. More information about API functioning can be found in documentation link