%o not working using new input SFTP\FTPS task

With the new SFTP\FTPS input task %o no longer works, you have to use %1. However when running through debug %1 doesn’t get populated with the input filename so you have to start changing code.

Is there an easier way around this is a less than ideal way of working

Yes, there is; Please use %3 instead.

%3 - Source file name: Contains the name of the current file that was retrieved from the server.

Source: SFTP Input - OL Connect Workflow 2024.1 Help

Hi Marten

That’s for the SFTP Input, we are using the “Input SFTP\FTPS” module. The help states %1 is the filename, but that doesn’t work when using debug

Has the Input SFTP/FTPS task been applied as an input task? If yes, then this is because an input task is being skipped when executing a Workflow process in Debug mode.

@Marten yes it is a input task.

But the task is triggered by a file appearing on a FTP so we have to have this as an input task

You may want to insert the Input SFTP/FTPS task just after the input task when you would like to test the task in Debug modus. Otherwise, you just need to test the task when running the Workflpw process containing the task in Service/Live mode on a Test environment (recommended).