Defining Validate Approver rules
To define a Validate Approver rule
- Complete the basic information about the rule.
For more information, see Creating-a-rule.- Select Validate Approver from the Rule Type list.
- (Optional) The rule condition in the Run If text box. Use this field to define a conditional statement that controls whether the rule is executed.
- Click the Set Fields tab.
- In the Set Fields Type field, select the appropriate action type. For more information, see Defining-actions-for-a-rule.
- For a query, select a form name from the From Form menu.
This value indicates in which form to search for the query. - In the On Server field, select the server where the form is located.
- Current—The form exists on the current server.
- Alternate—The form exists on another server. Enter the remote server name in the Server field.
- Depending on the action type, enter the qualification statement or command line in the Qualification area.
- In the Fields Data area, enter the name of the field or fields to receive the data in the Field Name column, and a value statement or the name of each source form field in the Value column.
- Click Save.
Example of a Validate Approver rule
The following figure illustrates an example of a Validate Approver rule from the Get Agreement sample application. On the Set Fields tab, the qualification condition causes the rule to search the Login Name field of the User form to find a match for a name entered in the approver field ($Approver$) of the approval request form (AP-Sample2:Get Agreement).
Example of a Validate Approver rule
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*