i created 2 File Triggers (File appears + File changed)
The file appears works. However, if the task that creates/overwrites the file runs again, the File changed trigger will not be fired, even though the file has a new modification date. Could that still be a bug, or what is the criteria for File Changed trigger?
If i delete/create the File again, File appears is fired again.
thanks for feedback.
I'm using the Export dataset-Action(Create or overwrite). If exists then overwrite.
The file is located on a network drive.
To test, I simply run the job again a minute later (no changes in the data) The file is created with a new modification date.
But i also edited the DSET and saved it again. However, the trigger is not fired. That's not a big problem.
I changed the project in such a way that the file is deleted after processing. The the appears trigger works.
I believe this might be causing the problem. Network drives do not emit all file change events reliably and are not fully supported in this aspect on Windows.
To work around this issue -- if you need the "file changed" trigger -- avoid placing the file on a network drive altogether.
note that mapping the network drive to a local folder (using a hard link or junction) or as a drive will not resolve the underlying Windows limitation.
the file trigger also not fired, if the file is exported to a SAMBA directory via SAP-Program
If the file was copied via Windows file copy, it works (also on sameSAMBA-Network-Drive)
Is the problem known specifically for SAMBA directories?