AX2192

File group triggers

Using file group triggers, you can automatically "trigger" the execution of a Scheduler job after data is saved from plan files in the file group.

For example, you might have a report utility that you want to run automatically any time data changes in plan files. Or you might have one file group that is dependent on the data in another file group, so you want to process plan files in the second file group any time data changes in the first file group. To do this, you can set up a trigger on the file group, to cause Scheduler to perform the desired task whenever data is saved from plan files in the file group.

When you define a trigger for a file group, you specify:

  • The name of the event to trigger when data is saved from plan files.
  • One or more variables for the trigger, to be used in the triggered Scheduler job.

As part of the trigger setup, you must create the Scheduler job or jobs to be triggered. These Scheduler jobs must contain the event name for the trigger, and can optionally use variables that were set up for the trigger.