Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to implement a scenario as in tinfiniteloop --> tFilelist --> Run if (file name contains "cs") ---> Establish FTP connection ---> tFTPput ---> Archive File (tFilecopy).
The requirement is to design a filewatcher as "twaitforfile" doesn't run on UNIX. I tried to introduce even tForEach iteration as "Run if" condition is throwing error but getting error all the time.
Any suggestions on how to implement this?
Regards
Hi,
Your design looks ok except a missing tSleep between each iteration.
For the "Run if" condition, did you try this:
((String)globalMap.get("tFileList_1_CURRENT_FILE")).contains("cs")
Hope this helps.
Hi,
Your design looks ok except a missing tSleep between each iteration.
For the "Run if" condition, did you try this:
((String)globalMap.get("tFileList_1_CURRENT_FILE")).contains("cs")
Hope this helps.
Yes, I have added that condition check.
Where shall I use the tSleep component? Is it after tFileList?