How to prevent partial file processing using OIC File server event
Summary:
Hi Team,
We set up the OIC System File server event to start an integration whenever a new file is uploaded, so we can decrypt and re-encrypt data files. Sometimes, the files are large, and the event triggers before the upload is finished. This is because the file gets a temporary name like abc.csv.filepart while it's still uploading. When this happens, the process fails because the file isn't ready for encryption.
Since we can receive files in any format and those needs to be encrypted, we do not have an option to use endswith function for the filename.