on 03-10-2017 4:49 PM
Hi Experts,
I have requirement such as I have a job it contains 3 dataflows. When I execute a job,1 dataflow was success and 2 nd data flow was failed. but my job should not stop here. Job should be skip 2nd data flow and process 3rd data flow and complete the job.
Can anyone provide how to do this requirement.
I hope you understand my requirement.
Thanks,Murali
Hi Murali,
Take each dataflow in a try & catch block. Your flow should look like this.
Try-->DF1-->catch-->Try-->DF2-->Catch-->Try-->DF3-->Catch.
Thanks,
Ravi kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Murali,
Yes, you need to put each dataflow into separate try-catch block so that for any dataflow's failure, the whole job won't be stopped.
If you want, you can place your own logic in Catch blocks to deal with the failure. Else it is fine without anything in catch block.
Thanks,
Soumyadeb Halder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Place the 3rd dataflow in Catch ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.