Managing Rule Sets in the My Rule Sets Tree

Rule Sets provide a container for managing a set of rules and defining data parameters required by those rules. The My Rule Sets tree provides a list of rule sets as top nodes in alphabetical order. Rule Sets may contain Decision tables and rules, which exist as sub-nodes of the according Rule set in the tree. The My Rule Sets tree provides a toolbar with the following options to manage the contained rule sets:

Rule Sets List
Figure: List of Rule Sets

You can expand a Rule Set node to display the decision tables and rules that exist within that rule set by clicking the plus sign Expand next to the rule set.

Creating Rule Sets

To create a rule set, click the icon in the My Rule Sets launch panel toolbar. The Rule Set Property view opens, where you can set and edit properties. Refer to chapter Editing Rule Sets Properties for details.

Importing Rule Sets

To import existing Rule Sets, click the Import Rule Set icon in the My Rule Sets launch panel toolbar. Note that only Rule Set files that are created in the Stardust Rules Manager are supported. They are saved as JSON files.

An upload file dialog opens to load the Rule set. In case a Rule set with the same name already exists, a confirmation dialog opens to ask if you like to continue anyway and create a new version of this Rule set.

Import Confirmation Dialog
Figure: Rule Set Import Confirmation Dialog

Undoing and Redoing the last performed Function

The following changes can be reverted or re-instantiated by the Undo or Redo function:

Note that the following operations can not be reverted:

Once the changes on all Rule sets in the tree are saved as described in section Saving all Changes, the Undo and Redo stack is emptied and the buttons are disabled.

Reverting the last performed Function

Click the Undo icon in the My Rule Sets launch panel toolbar in case you like to revert the last performed function. A tooltip describes the last operation that has been performed in the following format:
Undo: RuleSetName.ElementName action.

Undo Tooltip
Figure: Revert the last operation

Reinstating the last performed Undo Function

Click the Redo icon in the My Rule Sets launch panel toolbar in case you like to reinstate the last performed undo operation.

A tooltip describes the last undo operation that has been performed in the following format:
Redo: RuleSetName.ElementName action.

Redo Tooltip
Figure: Reinstate the last performed Undo operation

Saving all Changes

To save all changes performed on the Rule sets in tree, click the Save All icon in the My Rule Sets launch panel toolbar.

Once a Rule Set is saved, it is exposed for selection on the Implementation property page in Rule Tasks in the Business Process Modeler.

Refreshing the view and clearing the Session Log

To refresh the view and clear the session log click the Refresh icon in the My Rule Sets launch panel toolbar. A confirmation dialog opens to confirm that all rule sets should be reloaded from their last saved state and the session log will be cleared. A check box provides the option to save all rule sets prior to reload.

Refresh Confirmation Dialog
Figure: Refresh Confirmation Dialog

Renaming a Rule Set

You can rename a rule set by one of the following actions:

Deleting a Rule Set

To remove a rule set, right-click the rule set in the My Rule Sets tree and select Delete.

Deleting a Rule Set
Figure: Deleting a Rule Set

A confirmation dialog opens to confirm the deletion of the rule set.

Deletion Confirmation Dialog
Figure: Deletion Confirmation Dialog

All open views respective to the deleted Rule Set will be closed. This also includes views of child node views.

Exporting a Rule Set

To export a rule set, right-click the rule set in the My Rule Sets tree and select Export Rule Set.

Exporting a Rule Set
Figure: Exporting a Rule Set

In case the Rule Set has unsaved changes, a warning dialog opens indicating to save the rule sets before continuing.

Rule Set Export Warning
Figure: Rule Set Export warning in case of unsaved changes

A browser dialog opens for downloading the Rule Set file.