One Star pij
One Star

tSalesforceOutputBulkExec problem

Hi
i need help to find the solution of my problem : i have a tSalesforceOutputBulkExec job that reject lines in a csv file (Row -> Reject) and i would like to do some jobs if at least 1 row is rejected (so maybe after the rejected job) and other stuff if all lines are inserted without error. And the problem is that i do not find the solution for having a branch that is trigger only if all lines are inserted without error.
The problem may be that the job is always OK even is all lines are rejected.
Maybe with an if statement but i dont know how.
thank you for your help.
1 REPLY
Moderator

Re: tSalesforceOutputBulkExec problem

Hi,
i would like to do some jobs if at least 1 row is rejected (so maybe after the rejected job) and other stuff if all lines are inserted without error. And the problem is that i do not find the solution for having a branch that is trigger only if all lines are inserted without error.

For your further processing, you can use "RunIf" connection which triggers a subjob or component in case the condition defined is met.
Please take a look at document about:TalendHelpCenter:RunIf Connection Setting
Let us know if it is Ok with you.
Best regards
Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.