One Star

[resolved] Loop/Repeat if there is an error

I am performing an API call that generates a file to an FTP server. My current job sleeps for some time and then runs the FTPGet component to pick up that file.
I would like to some how loop back to the sleep if the FTPGet Fails.
Ideally the trigger: On Component Error would allow me to go back to tSleep_1, but that doesn't seem possible.
Any ideas on how I could implement this functionality?
Seven Stars

Re: [resolved] Loop/Repeat if there is an error

Use tLoop -iterate-> tSleep with the following settings:
Type: While
Declaration: globalMap.put("tFTPGet_1_CURRENT_STATUS","Transfer not attempted.")
Condition: !((String)globalMap.get("tFTPGet_1_CURRENT_STATUS")).equals("File transfer OK.")
tFTPGet sets that globalMap variable so once the file is transferred succesfully, your loop will terminate.
One Star

Re: [resolved] Loop/Repeat if there is an error

Thanks alevy, exactly what I was looking for.
I thought it had something to do with tLoop..