Coercions
In some situations, the datatype of a Scope Variables element may be undefined. In these situations, you may know the datatype of the element, and you can coerce the element into a specific type. Using the Coercions button in the Input tab toolbar you can create and manage your coercions.
The following example illustrates a schema with an element defined as the "any element" datatype. The schema is for a generic incoming message that can have any type of body. In the example, however, the any element is coerced into an Order type so that it can be mapped to a choice element.
The following procedure describes how to coerce the Body element of the incoming message into a specific datatype and map it to a choice element.
Procedure
Copyright © TIBCO Software Inc. All Rights Reserved.