Creating Rule Groups & Rules

Formset rules are organized into Rule Groups

They have no functional relevance other than to help collate and manage conditionality rules. Rule Groups can be collapsed and exposed to enable better focus while configuring.  This article refers to rules and rule groups associated with controlling ticket fields, but are equally applicable to User and Organization fields (accessible via the Users and Organizations buttons at the top of the configurator).

 

Overview of Groups and Rules:

FormsetRuleGroups.png

To manage rule groups and rules, click on Formset icon (1). The Configuration will default to Formset (2) - Tickets (3) - Configuration (4).

Group names in can be rearranged in alphabetical order by clicking the Sort rules by name icon (5).

Add new rule group by clicking the plus(6).

You can expand or collapse all rule groups by clicking this icon (7).

Rule groups: Expanded to show rules (8) and collapsed to hide rules (10).

Example of rules displayed in a rule group (9)

 

To create a new group:

02-Create-groups-rules.png

1. Click the [+] icon (1). This will add a new group at the bottom of the list called "New Group" (2)

2. Click on the group name and change it to something more meaningful (3).

3. Click on the [+] icon to add rules to your new group (4).

Notes:

Rule groups can be deleted by clicking on the Remove group icon [-] (5).
Rules can be reordered alphabetically by clicking on the Sort rules by name icon [sort-icon.png]  (6).

 

To delete a group:

04-Create-groups-rules.png

1. Click the [-] icon at the right hand end of the group (1). A confirmation message appears (2).

2. Click the Delete button to proceed (3). The group and its rules is deleted.

 

To hide/show the rules in a group:

03-Create-groups-rules.png

1. Click the up arrow icon (1). The arrow changes into a down arrow (2) and the rules are hidden.

2. Click the down arrow icon at the left side of the group name. The arrow changes into an up arrow (3) and the rules are shown.

Expand and Collapse all Rule Groups

When you have a large number of rules in Formset, these may be organized into many rule groups.  When you first go into the Formset configurator, all of the rules in each rule group are visible/expanded.  To make it easier to find the rule group of interest, you can click on the icon at the top left which will either collapse all rule groups (hide all the rules inside each group) or expand (show all rules inside each group) them.

Formset Rule Groups Expanded.png

Here we see all rule groups expanded (the default).  Click the icon (1) to collapse all rule groups.  If you have a rule selected when you collapse the rule groups, this rule will be deselected.

Formset Rule Groups Collapsed.png

Here we see all rule groups collapsed.  Note that the icon (2) has changed to indicate that clicking it again will expand all rule groups.

Formset Rules define the fields and/or field values displayed

The naming of the rules is completely arbitrary. Their position is not relevant in the grouped lists. Choose names that describe the desired action for your rule, the cause of the rule, or both.  

To create rules in a group

05-Create-groups-rules.png

1. Locate the group in which you want to create a new rule. 

2. Click the black [+] icon (1). A new rule named 'New Mapping Rule' will be added at the end of the group (2)

3. Click the name to change it to something more meaningful (3).

 

To delete a rule:

Delete Rule.png

1. Select the rule for deletion. Click the [-] icon at the right side of the rule name (1).  A confirmation message appears (2).

2. Click the Delete button to proceed (3). The rule is deleted.


NOTES:

Rules can be reordered within a group or moved between groups by dragging and dropping them.
Rules can be reordered in alphabetical order by clicking on the Sort rules by name icon [sort-icon.png].

 

To clone or copy rules in a group:

08-Create-groups-rules.png

If there is a need to create one or more rules with a large number fields involved that share many of the same conditions, it might be more efficient to clone or copy an existing rule and then make the required adjustments to the new copy.

1. Click on the Clone rule icon (1) to create an exact copy of an existing role (2).

2. A new copy is created immediately below the original (3). Both the Driving and Controlled Fields are duplicated (4).

 

*Note: instructions concerning the definition of rules are covered in the following articles:

 

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.