Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How can I use trigger Run If in my application.I am using tReplicate to replicate data into n nuber of branch. I want branches should be executed on certain condition.
context.FilePath.startsWith("C:\\") && context.TestDate.before(TalendDate.parseDate("yyyy-MM-dd","2009-06-30"))
|| context.RunNumber==1 && context.MaxValue.compareTo(BigDecimal.valueOf(100000.00))<0
I am getting a tJavaRow error
I think it's very unlikely you would want a RunIf directly from a tJavaRow. All flows are completed before a RunIf link is tested so if your RunIf expression depends on data in the flow, it will only be tested from the last row of the flow. If you do want your RunIf tested for each row of the flow, you would need to have a tFlowToIterate.
I am getting a tJavaRow error
I think it's very unlikely you would want a RunIf directly from a tJavaRow. All flows are completed before a RunIf link is tested so if your RunIf expression depends on data in the flow, it will only be tested from the last row of the flow. If you do want your RunIf tested for each row of the flow, you would need to have a tFlowToIterate.