I have a scenario where I would like to skip a component to execute based on the condition and run its consecutive components in Talend.
Is it at all possible?
I've mocked up a job for you:
I have a context variable called: startFrom It can be accessed with context.startFrom
I've placed a tJava with a few tWarns:
I use 4 context settings:
So my Job:
If settings are the following:
context.startFrom.equals("opt")
Recovery and Recovery1 prints out their names using System.out
If I start my job I can select where I want to start it. If I don't select anything: context value is null, it won't do anything.