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
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.
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).