Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to execute component only if previous component have rows more than 'n'
how to achieve this where condition can be on count of rows processed in link from previous component ?
Hi,
I am talking about tMap numeric sequence.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Hi,
The best way is to validate the value of NB_LINE parameter of the main flow like below (using Control+Space to get all available variables).
Another small trick is to add a numeric sequence to the input flow and map the value to a context variable. Once the last row s also processed, use the value loaded in that context variable to measure the number of rows.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Hi @nthampi
#1 NB_LINE parameter - I tried control+space by selecting component and by selecting link but it is not working out. I will get message as "Properties not available"
#2 add a numeric sequence -- Here you may need to give me more details, please. Are you referring "Numeric" routine ? or is it something in Tmap ?
Hi,
I am talking about tMap numeric sequence.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂