PX Transformer Constraint Otherwise Not Working Correctly
Posted: Thu Sep 12, 2013 10:59 am
Hello all,
It seems my constraints on my transformer are not working correctly (or the way I think it should work).
Say for my input, I have 1000 records. I have five output links from my transformer. Below are the four constraints. The other output link is the Otherwise.
Out of the 1000 records, 68 get passed to the C4 output link. However, all 1000 records are being passed to the Otherwise link.
Can anyone shed some light as to why this would be happening and how I can resolve this?
Thanks in advance.
It seems my constraints on my transformer are not working correctly (or the way I think it should work).
Say for my input, I have 1000 records. I have five output links from my transformer. Below are the four constraints. The other output link is the Otherwise.
Code: Select all
C1 = Len(Ln_ds_src.SBB) <> 4 Or
AlNum(Ln_ds_src.SBB) = 0
C2 = Ln_ds_src.Date < '2000-01-01'
C3 = Ln_ds_src.NumberId = 'UNKNOWN'
C4 = Len(svCIIcheck) < 6 And svSTSalphanum = 0
C5 = Otherwise
Can anyone shed some light as to why this would be happening and how I can resolve this?
Thanks in advance.