Batch Task Event Handling (Magic xpa 4.x)
Batch task processing is different from the interactive process. Unlike interactive tasks, where the Runtime engine waits for input, Batch tasks process the records without waiting for input.
Batch tasks can poll pending events. You can define the Batch task engine to poll events by a timer, by the number of records processed, or by both.
|
|
|
|
1
|
0
|
0
|
Never poll in that task
|
2
|
0
|
N
|
Poll every N records
|
3
|
M
|
0
|
Poll every M milliseconds
|
4
|
M
|
N
|
Poll every M milliseconds and N records
|
The Batch Event Interval setting, in the Environment dialog box, lets you set the timer for the event polling of Batch tasks. Entering a numeric value of 0 disables the Batch Event Interval. The polling of events will then be determined only by the numerical value of the Record Event Interval in the Task Properties dialog box.
The Record Event Interval, in the Task Properties dialog box, lets you define the number of records for the event polling of Batch tasks. Entering a numeric value of 0 disables the Record Event Interval. The polling of events will then be determined only by the numerical value set in the Batch Event Interval parameter in the Environment dialog box.
How Magic xpa Executes Group Levels
Group Level Example