Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
williamconley wrote:information on the real time report is pulled by every real time viewer generally every 4 seconds.
you do not want a query to check all call results for every agent for the entire day every 4 seconds. that would be ... cumbersome.
create a new table to store your data in and create a new record in the table for each agent and put a date in one of the fields. wipe it clean every morning (ie: when the date is yesterday, delete the record).
then each time a rep makes a sale, increment the record.
OR ... run a query every 15 minutes (5 minutes?) to populate the table to avoid overloading your cpu.
navigating the real time report, however, to add data ... is a bit of a challenge. it requires data collection and aggregation and then spilling it to the screen individually and then again in the totals section.
you may find it easier to simply create a new web page with this (and any other data on it ...) that refreshes every 5 minutes or so for a different display type. but if you must have it in the real time ... you'll have a bit of a challenge (and when the next version comes out ... you'll have to re-integrate it again ...). the database structure of Vicidial is fairly stable, but the admin/realtime/agent screens have a tendency to have changes with each release, even if minor.
Users browsing this forum: No registered users and 15 guests