The execution of a trigger based on detecting a new file in a directory is performed through the following steps:
- Launch the Gravity.exe application.
- Create a project (option PROJECTS). A project invoked by this type of trigger should contain at least one INPUT FILE operator.
- Add a File-type trigger (option TRIGGERS), and specify the directory that will be monitored for new files.
- Start the GravityTriggersRunner.exe server application or restart the gravity.integration service.
The process will be triggered when a file appears in the directory specified in the trigger configuration.