Configure Discovery to use Event Framework
Configure Discovery to process jobs using the Event Framework method, which enables you to manage discovery throttling effectively and prioritize tasks based on their importance in the queue.
Before you begin
- Discovery Admin Workspace is using version 1.9.0 or later.
- ServiceNow AI Platform is using version XP9, YP4, or later than YP4.
Role required: discovery_admin
About this task
When not using the Event Framework method, Discovery creates a one-time Schedule Item [sys_trigger] record for each External Communication Channel (ECC) queue sensor or pattern input record. After the task is processed, the system scheduler deletes the sys_trigger. This approach introduces additional overhead and can lead to significant database churn, while offering limited control over how sensors are processed.
The Event Framework reduces database churn by cycling through multiple event tables over time. Instead of deleting old records one by one, it clears out entire tables when they’re no longer needed and reuses them. This approach is much more efficient and helps keep the system running smoothly.
Procedure
- Navigate to .
- In the System Properties [sys_properties] table, select the discovery.use.event.processing property.
- Set the Value field to true.
- Select Update.
Result
When an input record is added to the ECC Queue, a business rule is triggered, which fires an event. The system processes these events at regular intervals with a default priority of 100.