Applications → Defining Rules → Working with Rules → Creating Expressions for Rules → Field Options and Values
The type of field that you use in an expression determines the options and values that are available to you. The following list describes common features of fields.
This expression will evaluate as true only if the "Current User" submitted the issue. In Multi-Group fields, the expression will evaluate to "true" if the current user is a member of one or more groups associated with the field.
The following table lists field types and describes the options that are available to them when Value is selected in the drop-down list.
If you can select values for a field, you can search for specific values or select multiple values to add to your condition.
If you select a selection or user field, the values that are available as selections for the field are available in the Available values column. Use the right arrow button to move them to the Selected values column.
In some cases, a text box contains Type here to search for a value. You can type a few letters in this box to filter the list of values. When you do this, the only values that are displayed are those that contain the letters you typed.
To specify a date relative to the current date, select an option, such as Start of Last Week on the Special value tab.
If you want to specify a certain number of days before or after the current date, select the Now checkbox on the Special value tab, select + or -, and type or select the number of days. For example, if you want to evaluate whether a Help Desk incident was submitted in the last 30 days, select the ≤ operator, select the Now check box, select –, and then type 30 in the days combo box. The expression becomes Date ≤ 30 days ago.
To specify an exact date and time, click a date and select a time on the Exact value tab, and then click Accept.
If a field does not let you select a specific value, type a value in the text box. For example, if you select a Text field, such as the Description field, type characters to search for. Date/Time, Numeric, and Summation fields also let you specify a value.
In some cases, the text box contains Enter a wildcard pattern. For information about using wildcards, see Wildcards.
|Binary||If you select a Binary field, such as the Active/Inactive field, select one value for your rule criteria.|
|Trinary||If you select a Trinary field, select one, two, or three values for your rule criteria.|
|File||If you select a File field, you can specify the is Empty value (find items in which a file has not been provided by a user) or the is Not empty value (find items in which a file has been provided).|
|URL||If you select a URL field, you can specify the is Empty value (find items in which a URL has not been provided by a user) or the is Not empty value (find items in which a URL has been provided).|
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.