Combining and Grouping Conditions - Unity Forms - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - Premier - external - Standard - Premier - Standard

Unity Forms

Platform
OnBase
Product
Unity Forms
Release
Foundation 24.1
License
Premier
Standard

Conditions can be combined and grouped like any other expression. This is achieved by using the And or Or operators, condition groups, or a combination of the two.

When multiple conditions are added to a custom action, you use the And operator to require all conditions to be met or you can use the Or operator to accept either condition on either side of the operator. The operator is set by clicking on the operator link. Clicking on the link toggles between And and Or. In the following example, the operator link is red and is displaying And:

In some cases, you may have more complex condition requirements. When this occurs, you can group related conditions. You can do this by selecting the conditions that are related using and clicking Group once all the related conditions are selected. You can select conditions by pressing Ctrl on the keyboard and clicking on the conditions you want to group. You can also select conditions that are consecutively listed by pressing Shift on the keyboard and clicking on the first and last condition that you want grouped together.

Once conditions are grouped, they will be enclosed within a box and an operator link will be available between the grouped items and the next condition in the list, as well as between the conditions in the group. The following example has two conditions grouped, followed by the Or operator and another condition:

This condition set will execute the configured actions when either the grouped conditions are met or the other condition is met.