Exceptions resulting from parameter searches

What happens if there are parameters in the Optiva database that are defined with an incorrect data type? A search that includes min or max parameter criteria can fail. The exception can be thrown when Optiva attempts to convert the parameter value. The value has to be converted to a number or a date so that it can be compared to the minimum and maximum criteria values.

To find the objects that have bad parameter values saved in the database, use the standard Optiva scripting library, TPDATAVALIDATION. A set of standard Optiva workflow scripts are available that use the TPDATAVALIDATION scripting library for these search objects: Analysis, Formula, Item, Label Content, Project and Specification.