I am updating a table in a database where I must insert, update or change value of one attribute of a record when it is deleted from source (ex: field ISDELETED is changed from N to Y when record is deleted).
So in ChangeDetector I am connecting the destination table to "original" port, and new incoming data to revised port.
The issue is that the attributes coming to "revised" don't have the same name like the ones from destination table, and I am using in my script a SchemaMapper to
map Source Fields to Destination fields (as the names can change and customer has access to the table used in SchemaMapper only).
So because the attributes have different names, I don't think that the ChangeDetector will do it's job correctly.
I attached a dummy script and dummy data to this issue.
Can you give me some help here?
Thanks.