Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Introduction to TIBCO Object Service Broker Screens : Validation

Validation
Validation is the check performed on data entered into a field to verify if it conforms to the known characteristics of that field. For example, known characteristics could be semantics, formatting, association, syntax, and so on.
Phase One Validation
In Phase One validation, data is validated for its semantic data type (logical, date, or numeric). A field containing invalid data is highlighted, the cursor is positioned on the field, and a message appears. Phase One validation of data begins when you press any PF key, except the Refresh key PF24.
Phase Two Validation
The following process occurs in Phase Two validation:
1.
2.
3.
Phase Two validation begins when you press any assigned PF key, except the Refresh key PF24, the scroll keys, or the Help key.
Validation Failure
If validation fails in either Phase One or Phase Two, you can do one of the following:
If VALIDATEFAIL is raised, the data can be accessed under the exception handler ON VALIDATEFAIL. The invalid data is reset to null after Phase One validation. After Phase Two validation, the invalid data is not reset to null; it is available to the exception handler as entered into the screen.
Type a new value and press one of the assigned PF keys (except for the Refresh key PF24) to initiate the validation process again.
For information on the Validation Exit key (PF12), refer to Chapter 2, Building a Screen.
See Also
TIBCO Object Service Broker Programming in Rules for information on exception handling.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved