Originally posted by: SystemAdmin
Hello,
there's no way to "force" an output card to refuse a value based on the type tree.
If you set a component rule, then you can use the Data Audit Settings and the Audit log to detect the fact that your map created invalid data.
Another solution could be to use a "reference" series of the allowed values, and accept to map only of the proposed value is in the allowed set.
Something like
=IF (MEMBER (SomeData, Currency:Reference), SomeData, FAIL ("Invalid currency : " + SomeData))
Thinking more about it, this rule does not seem right. I'd rather check the input values and make the data invalid (via a component rule) if they are not in the allowed values.
Hope this helps.
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange