High Volume Account DetectionReading Only
As a CRM data analyst I want to identify accounts that have experienced an unusually large influx of contacts in the past four months, so that I can investigate data-quality issues and possible automation mis-configurations.
Object | Field | Notes |
---|---|---|
Contact | CreatedDate | System timestamp, used for recency filter |
Contact | AccountId | Lookup to Account |
Account | High_Volume_Flag__c | (Checkbox) Optional follow-up field showing TRUE if the account exceeds the threshold |
Requirements:
- Only contacts created in the last 4 months count toward the threshold
- Return each qualifying Account Id with the number of contacts created in that window
- Threshold: > 1000 contacts
Implementation Details:
Complete the getHighVolumeAccountIds()
method in the QuerySolution
class to return a Set