Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Experts,
I am using TOS DI and would like to achieve the below use case.
Source:table1
ID,Flag
1,A
2,B
Run1:
Destination:table1_stg
1,A
2,E
Run2: (no change for existing records but one new record is new)
ID,Flag
1,A
2,E
3,E
(**** as per the current job flow, tDBInput->tMap->(1)tDBOutput(insertflow) -> (2)tDBOutput(updateflow). actually the new records goes in insert flow at the same time there old 2 records also goes in updateflow but there is no change)
Run3: (no change for existing records but one new record is new)
ID,Flag
1,E
2,E
3,E
(**** this time all three goes in update flow, yes this is ok)
But Run2 how to stop going the updateflow if there is no change in the source data?
Dear Mano,
thank your info, i have tried the same... the issue is even there is no change in the source data the update flow is updating all the records.
Dear Mano,
Actually i want to achieve what CDC does. can you pls let me the expression i should put based on my source data in my question thread.
But where to set that if the conditions are true then only put the UPDATE operation?
@sen kum
@Manohar B
@Rao Waqas Akram , you need to check the if condition in tmap output section, enable/disable filter section.
thanks alot @Manohar B