Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have requirement to run a python code. The python code takes data from S3 bucket and does some processing on it.
I have to execute the python code only if found a trigger file in bucket.
I have build following design. I am running tsystem with Runif condition as
file_list == "u.data"
but then I am getting error as "file_list cannot be resolved to a variable"
My S3 bucket contains multiple files but I need to check if my trigger file (in this case) u.data is present. If present then execute the python code through tsystem else give an output as "File Not Found"
Hello,
After creating the file, you can verify whether its present using tFileExists component. If the file is present, the If condition will work as true.
Please also verify the sample scenario mentioned below to understand the if clause verification method.
https://help.talend.com/reader/TxjSzmlJzD3vwT56FYszSA/o5dpZBnobRXdYU1S4wqupg
Best regards
Sabrina