IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > What are monitor models? > Expression support
Supported XML Schema datatypes
The monitor model supports eight XML Schema datatypes.
The monitor model supports the following XML Schema datatypes, as defined in http://www.w3.org/TR/xmlschema-2/:
- boolean
- integer
- decimal
- string
- duration
- dateTime
- date
- time
Expressions with these argument and result types are created using the XML Path Language (XPath) 2.0. Expressions are used in the following places in a monitor model:
- Metric and key value expressions
- Calculating a key performance indicator (KPI) based on other KPIs or user-defined XPath functions
- Expressions to set outbound event attributes
- Specification of default values
- Correlation predicates (Boolean expressions)
- Inbound and outbound event filters (Boolean expressions)
- Trigger conditions (Boolean expressions)
Unsupported datatypes
It is possible to use the other datatypes for elements or attributes in inbound events if such elements or attributes are defined in an XML schema that describes the business payload in the xs:any slot of an event (wildcard data in the Common Base Event type).
At run time, values of unsupported datatypes are treated as:
- xs:decimal values if they are floating point numbers
- xs:integer values if they are integer numbers
- xs:string values for the following datatypes:
If event fields having any of the following datatypes are referenced in filters or correlation expressions, they are compared using string-comparison.
- xs:anyType
- xs:anySimpleType
- xs:gYearMonth
- xs:gYear
- xs:gMonthDay
- xs:gDay
- xs:gMonth
- xs:base64Binary
- xs:hexBinary
- xs:anyURI
- xs:normalizedString
- xs:token
- xs:NMTOKEN
- xs:Name
- xs:language
- xs:NCName
- xs:ENTITY
- xs:IDREF
- xs:ID
- xs:NMTOKENS
- xs:ENTITIES
- xs:IDREFS