The SFTP-SSH connector can be used as a trigger to detect file modifications however it relies on specific metadata provided by the SFTP server, such as timestamps or file properties, to identify changes. If the SFTP server does not update the relevant metadata (like last modified timestamp) when the file is changed, the trigger may fail to detect the modification and skip the run.
Try to verify the SFTP server isupdating the file metadata on modification also the polling interval and path configurations, are correctly defined to match the file's location.
You can consider using alternative approaches, such as explicitly renaming or replacing files, which may provide more reliable metadata updates for the trigger to detect.