AX2567
Scheduler task: Raise Event
The Raise Event task can be used to trigger other Scheduler jobs for execution, using a named event handler. This task has one required setting:
Item | Description |
---|---|
Event Name |
Enter the name of the event that you want to raise for execution. This name must match a defined event handler name in one or more other Scheduler jobs. When this task is run, it looks for any jobs that contain the specified event handler name. These jobs are added to the schedule and are eligible to be processed immediately, depending on Scheduler thread availability and any other higher-priority jobs already in the queue. |
Event Variables
This section can be used to pass variables into the jobs triggered by the event handler. If the jobs are configured to use the variables, these values can impact how the jobs are processed.
|
To add a variable, click the Add button to add a row to the list. Complete the settings for the variable as described below. |
|
![]() |
To remove a variable, select the variable in the list and then click the Remove button. Only one variable can be selected at a time. |
For each variable, you can specify a variable name and a variable value. To edit the variable settings, double-click the applicable cell to make the cell contents editable. When you are finished editing, you can press the Enter key or Tab key to exit the cell, or click outside of the cell.
Item | Description |
---|---|
Variable Name |
The name of the variable. Do not enclose the variable name in curly brackets (you are not using the variable here, you are defining its value). |
Variable Value |
The value of the variable. The value can be a "hard-coded" value, or it can be a job variable that will be resolved at time of processing. If you use a job variable to define the value, the job variable must be enclosed in curly brackets. |