Hi,
I have followed the discussions in the (now closed) post titled:
"Composite Domains in SSIS with spaces in the field"
re. how best to approach composite DQS domains when inside a SSIS flow.
I followed the approach recommended i.e.
" If you map (in SSIS) your 2 individual source fields to both the (DQS) domains in your (DQS)Composite Domain, your composite domain automatically participates in the cleansing activity."
In the example I have, there would be a number of different validation rules , similiar to the rules in that post which were called 'Circle', 'Square', etc.,, associated with the Shapes&Sides CD.
What I haven't figured out , is how to know from the output of the (SSIS) DQS Cleansing step when I get an Invalid result
- which precise DQS rule (e.g.'Circle', 'Square'..etc) actually failed. ?
So for an input row (if we take the example from that post) with a 'Shapes' value of 'Square', and a 'Sides' value of '3', I would like to get 'Failed Square' (Square being the DQS rule name) as the reason for failure, and to be able to see that from inside SSIS.
If I use the derived column approach (as discussed at the start of the above discussions) I am able to get this type of output by using the '...._Reason' DQS output corresponding to the derived column .
However I can't use the latter approach because of the issues with the derived column already highlighted in that post.
I am also able to get the failed rule displayed when working fully inside the DQS client (no derived columns of course, just working with the DQS Composite Domains).
However , as I say, I don't seem to be able to find out how to get it (the failed rule) when I map the individual cols separately to the individual domains.
I do get an SSIS overall 'Record Status' = 'Invalid' but I dont know which rule failed.
I hope I am missing something, as otherwise I don't see how a user is going to figure out why the record is 'Invalid', given that there would typically be multiple rules, any one of which could be causing the record's 'Invalid' status.
Any help would be much appreciated.
Thanks,
Martin