Configuring Constraint Sets - WorkView - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - Premier - external - Premier

WorkView

Platform
OnBase
Product
WorkView
Release
Foundation 24.1
License
Premier

A Constraint Set is a set of fixed constraints that can be used to identify objects for Attribute Value Maintenance and Triggers. Once configured, Constraint Sets can be used in the configuration of Attribute Value Maintenance and Triggers. To configure a Constraint Set:

  1. In OnBase Studio, select the WorkView tab in the Repositories pane.
  2. Expand the application and then the class for which you want to configure a Constraint Set.
  3. Right-click on the class' Constraint Sets folder and select New | Constraint Set or click Constraint Set from the WorkView ribbon. A constraint set is created under the Constraint Sets folder within the class.
  4. Enter a descriptive name for the constraint set and press Enter.
  5. In the Properties pane, you can enter a Description of the constraint set.
  6. Also, upon pressing Enter, a tab to configure the new constraint is displayed. In this tab, you can create a fixed constraints by either double-clicking on an attribute you want to use as a constraint or click Add. The Fixed Constraint Configuration dialog box is displayed.
  7. Click on the ellipsis button next to the Attribute field and select the attribute you want to use. If you double-clicked on the attribute to add it, it will already be selected. You can also manually enter the path to the attribute if you already know the path.
    Note:

    Text, Formatted Text, and Alphanumeric (greater than 256 characters) attributes are not available for selection. In addition, relationship attributes that are related to an external class that uses an ODBC connection or is Unity Script filled class cannot be used.

  8. Select an Operator from the drop-down menu. The following operators are available: =, <, >, <=, >=, <>, NULL, and NOT NULL. The =, <>, NULL, and NOT NULL operators are the only operators available for alphanumeric, text, and boolean data type attributes. The NULL operator searches for attributes that do not have any value. The NOT NULL operator searches for attributes that have any value. If NULL or NOT NULL is selected, any value in the value field is ignored and listed in the field as a blank string when it is added.
  9. Enter the Value that the attribute must meet in order for objects to be displayed. Additionally, if an attribute using a data set is selected, a drop-down list containing the values within the data set is available.
  10. Select the Connector that is appropriate to connect this attribute to the next attribute in the list you will configure to use in the query. And and Or are the options available. The AND/OR operator drop-down list allows you to specify how values are searched using the fixed constraint items. AND is selected by default. If AND is selected, multiple fixed constraints must be met in order for objects to be returned in the filter's results. If OR is selected, one of the fixed constraints items must be met in order for objects to be returned in the filter's results. You can use a combination of the AND and OR operators, coupled with the use of parentheses in order to yield the desired results.
    Note:

    OR connectors configured after the last constraint of a Constraint Set will automatically be converted to AND for aggregate triggers to ensure the correct results are found.

  11. Click OK.
  12. Add additional constraints you want to include in the constraint set.
  13. When finished, save the repository.