Hi,
I am working with DataMiner automation scripts and I wanted to know if it’s possible to trigger an automation script by uploading a file into a watch folder.
Essentially, I would like to set up a process where, once a file is placed in a specific folder, DataMiner would automatically trigger a automation script to run and process that file accordingly.
Is this something that can be achieved in DataMiner? If so, could you provide some guidance or point me to relevant documentation or examples?
Thank you in advance!
Best regards,
One possible approach:
Create a custom driver where you:
- Periodically run a QAction for getting the files and their last write time and store then i a table
- If the QAction is triggered again you can retrieve your existing table and compare it to the new one result
- When you noticed a difference you could trigger a start of an automation script
If you are not interested in the content itself, you could also think about a method build some checksum out of the rectrieved data. Then you only need one param in the protocol to store the checksum and can compare the checksums.
Other idea: you could just store the latest write timestamp. If it changes then you have an update.
Kind regards,
Felix

Hi Felix,
This seems like a simple and straightforward solution to my problem.
I will try implementing this.
Thank you for your help!
Best regards,