Defining validation behavior for business objects
In IBM® Process
Designer, you can create business object types that
define restrictions on the simple types. For example, for a business object type that has Decimal as
the base type, you can specify the precision and scale settings. These settings are validated in
heritage coaches and when you set a variable value in a process or service. Through various
settings, you can customize the validation to behave like the totalDigits and
fractionDigits constraining facets as defined by the XML Schema.
About this task
In its default settings, IBM Business Automation Workflow ignores precision settings in processes or services but checks them in heritage coaches. The scale setting is checked in both processes or services and heritage coaches. The check is performed for equality, meaning that a variable with a scale of 2 must have exactly 2 digits after the decimal point.
Procedure
To change the precision and scale settings in the 100Custom.xml file, complete the following steps:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15