Time-based event detection
When the PROCESSCONTROL and PROCESSACTION tables are set up properly, either automatically as a result of the business system calling into Event Manager or by manually adding records to these tables. Events can be reevaluated by starting the EventDetectionScheduleController.
The EventDetectionScheduleController is a Java™ class. Its main() method opens a socket on the server where it is run. After the socket is opened, you issue an EventDetectionCommand to tell the EventDetectionScheduleController how to interact with Event Manager on the server.
- Start processing an event category, specifying an event category ID.
- Cancel processing an event category, specifying an event category ID.
- Get status on the EventDetectionScheduleController (for example, which event categories are currently being processed).
- Shut down the EventDetectionScheduleController.
- startScheduleController.sh
- runEventDetection.sh
- cancelEventDetection.sh
- statusScheduleController.sh
- shutdownScheduleController.sh
- To begin processing events for LifeEvents category, run the following
scripts:
- startScheduleController.sh
- runEventDetection.sh or runEventDetection.sh
1 -cycle 10000Note: the event category ID of LifeEvents is 1
- To stop processing event for LifeEvents while continuing with other scheduled event detections, run the script cancelEventDetection.sh 1.
- To stop processing all scheduled event detections and shut down the scheduler, run the script shutdownScheduleController.sh.
Verify that the digest value matches what is displayed at the server, and type y to add the signer to your trust store. You only need to do this once as long as you are connecting to the same server and the SSL signer on the server has not been changed.