How to trigger subjob once file got created into folder

Six Stars

How to trigger subjob once file got created into folder

I want to create one job with two phases

Phase 1: I read two input excel files and produce two output excel files. for example OutputFile_1 & OutputFile_2

Phase 2: some other technology uses OutputFile_2, fill the missing data and put it back to folder. Now in Job i need to watch the folder once it gets the OutputFile_2 then i need to read it and merge into OutputFile_1 and produce OutputFile_3.

 

Phase 1 I completed and in phase 2 how watch and trigger the remaining sub job is challenging for me.

 

Note: In one job only i want to do both phases.

Tags (1)

Accepted Solutions
Four Stars

Re: How to trigger subjob once file got created into folder

Please try the component tWaitForFile. May be its usefull for you

View solution in original post


All Replies
Four Stars

Re: How to trigger subjob once file got created into folder

Please try the component tWaitForFile. May be its usefull for you

View solution in original post

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog