A request for a way to monitor a folder and archive superseded documents based on a specific naming format + version number has come to me.
I already have a category updater in Node.js (SQL Query to ECM DB, then action via Rest API if file changes need to happen) that sits external to ECM.
I also look after a C# application that can query restapi\DB and currently does a similar job but not towards ECM.
I have never ventured to oscript but I have heard about event triggers. IS there a simple example i can learn from and build upon to achieve my goals.
Currently the node app is on a timer to query large lists and compare, which i want to move away from and i believe an event trigger will be more performant as actions only take place when an update happens
Out of these what would be the recommended approach, perhaps theres one im missing. Thanks in advance