You can also test expressions within the OnBase Studio configuration. To test an expression, click Test. The Test Expression dialog box is displayed.
Option: Expression
Enter the Expression you want to test in the field.
Click Show List to access Keyword Types and functions to enter into the expression.
Option: Variables
When a variable (%K, %V, or %M tokens) is placed in the Expression field, the variable is listed in the Variables box.
You can select a variable to further specify the variable's value and data type by selecting the Variable has a value check box and defining the variable. Enter the value(s) into the field.
Select The value is an array (separated by commas) if the variable is an array.
Select the appropriate Data Type from the drop-down list. Click Set when the variable is configured appropriately.
You can add configured variables from the list to the Expression field by double-clicking on a variable in the Variables list. The variable is added to the cursor's location in the Expression field. If text is selected in the Expressions field, that text will be replaced by the variable.
Option:Add & Remove
To add entries to the Variables list, click Add. The Add Variable dialog box is displayed.
Select one of the following:
-
Keyword Type - Select the Keyword Type to add from the drop-down list.
-
Property - Enter a property name.
Click Remove to remove a manually added variable from the Variables list.
Option: Test
Once the expression and variable(s) is configured properly, click Test to verify the expression. A dialog box is displayed to show you the results of your test. The following is an example:
If you made changes, upon closing the Test Expression dialog box, a message asking Do you want to update the action? is displayed. Click Yes, if you want the action's Expression field to reflect the Test Expression dialog box's configuration. Click Don't update to return to the action without changing the existing configured expression.