I need to do the conditional split of data based on the source file record count and process data count if both count match then only i need to perform the insert into DB table but some where my conditional split is failing please find the screen shot and let me know what is wrong
I don't think that you can achieve that within one data flow task, since variables values are committed at the end of Data flow Task execution.
In your case it will always shows that the row counts are equals since they are both equals to zero.
You have to create 2 data flow task and one script task:
Add a precedence constraint between the First DFT and the second one. In addition, add a precedence constraint between the first DFT and the Script Task
On each precedence constraint add an expression:
Between Data Flow Tasks
@[User:OriginalRowCount] == @[User::ExtractedRowCount]
Between DFT and Script Task
@[User:OriginalRowCount] != @[User::ExtractedRowCount]