Converting Rulesets to Datasets
There are two very useful tasks in Rulex which allow you to convert rulesets to datasets and vice versa.
The Convert Ruleset to Dataset task converts rulesets to datasets so you can then perform in-depth analysis and specific operations, which are not available for rules, via pre-processing tasks such as the Data Manager.
For example, you may want to filter rules through a formula to identify only those rules which have a specific range of covering.
If required, the resulting dataset can then be reconverted to a ruleset via the Convert Dataset to Ruleset task.
Prerequisites
you must have created a flow;
the required dataset must have been imported into the flow;
a task has generated a ruleset in the flow
Procedure
Drag and drop the Convert Ruleset to Dataset task onto the stage.
Connect a task, which contains the ruleset you want to convert, to the new task.
Double click the conversion task.
Configure the options described in the Convert Ruleset to Dataset options table below.
Save and compute the task.
Convert Ruleset to Dataset options | |
---|---|
Parameter Name | Description |
Dataset format | Select the required format for the dataset (rulewide), which can be one of the following:
|
Conditions on ordered attributes format | Select the required format for the conditions on ordered attributes (ruleinterval), which can be one of the following:
|