Welcome Guest! Log in
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.


When connecting to an FTP server, it can be useful to execute distinct branches of a process, depending on how many files were fetched.

This can be done very simply, using an Execution Condition after the Get FTP action:

 

 598 getftp result

 

Explanation:

  • Once the FtpGet Action is executed, its variable "FILE_NB" contains the number of files retrieved.
  • The links to the next actions have an Execution Condition, based on this variable: ${FtpGet/FILE_NB}$
  • Make sure that your Execution Condition refers to the appropriate variable path, matching your FtpGet action's name, for example ${MyFtpAction/FILE_NB}$

You have no rights to post comments

Articles

Suggest a new Article!