ValidateExpressions Warning Enhancements Prototype
OIPAno longer displays an override checkbox for expressions defined as warnings that are returned during activity processing.
Prototype Explanation
The following business rules and transactions were configured in the Functional Prototype Plan, located within the Prototype Company, to demonstrate this new functionality.
Transactions
- SetValidationMessageDisplay: This transaction allows users to test the warning functionality of OIPA's ValidateExpressions business rule, which has been enhanced so as not to display an override checkbox for warnings. With this transaction, the user can clearly differentiate between an overridable error and a warning. To view the prototype configuration, navigate in the Main Explorer to Companies | Prototype Company | Plans | Functional Prototype Plan | Transactions | SetValidationMessageDisplay and click on the Fields pane. The key configuration for this transaction is explained below.
- An activity combo field is configured to give the user the option to "Test Error" or "Test Warning."
- "Test Warning" is configured to display the Activity Error pop-up, which will display the warning message, and will not display the override checkbox.
- "Test Error" is configured to display the Activity Error pop-up, which will display the error message with the override checkbox.
- An activity combo field is configured to give the user the option to "Test Error" or "Test Warning."
Business Rules
-
ValidateExpressions: This business rule is attached to the SetValidationMessageDisplay transaction, and allows the user to configure pop-up error messages. To view the prototype configuration, navigate in the Main Explorer to Companies | Prototype Company | Plans | Functional Prototype Plan | Transactions | SetValidationMessageDisplay | Attached Rules | ValidateExpressions and click on the XMLSource pane. The key configuration for this business rule is explained below.
- One <Expression> element specifies that the expression for Test Error should be overridable.
- A second <Expression> element specifies that the expression for Test Warning should be a warning, and therefore not overridable.
- VerificationScreen: This business rule is attached to the SetValidationMessageDisplay transaction, and allows the user to preview errors and/or warnings that will occur on the activity. To view the prototype configuration, navigate in the Main Explorer to Companies | Prototype Company | Plans | Functional Prototype Plan | Transactions | SetValidationMessageDisplay | Attached Rules | VerificationScreen and click on the XMLSource pane. The key configuration for this business rule is explained below.
- The <Errors> element is given a value of "Yes," so that the Errors section of the Verification screen is displayed.
- The <Warnings> element is given a value of "Yes," so that the Warnings section of the Verification screen is displayed.
View Prototype in OIPA
- Log in to OIPA using the Prototype Company user ID and password.
- Open a policy or create a shell policy that belongs to the Functional Prototype Plan.
- Add the SetValidationMessageDisplay activity.
- Select Test Error or Test Warning.
- Click the Verify button.
- If TestError was selected, note that the error message displays with an override checkbox. If "Test Warning" was selected, note that the warning message displays without an override checkbox.