I have a report that allows to the end user to to search using parameters of Agent/workgroup Range and Queue.
{QueueStats.SiteId} = {?SiteId} and
{QueueStats.cReportgroup} in {?Workgroup} and
{QueueStats.cReportGroup}<>"*" and
{QueueStats.dIntervalStart} = {?DateTime} and
{QueueStats.cName} = {?Agent} and
{QueueStats.cHKey3} <> "*"
I am trying to replicate to another report that allows only a seach by queue.
if {?EnableInteractionType}=1 then
{QueueStats.cHKey3}<>"*"
Else
{QueueStats.cHKey3}="*" and
{QueueStats.cHKey4} = "*" and
{QueueStats.SiteId} = {?SiteId} and
{QueueStats.cReportGroup} = {?ReportGroup} and
{QueueStats.dIntervalStart} = {?DateTime} and
{QueueStats.cType} = {QueueStats.cType} and
{QueueStats.cName} = {?Workgroup} and
{@StatusTime} = {?ShiftTime}
I can not get it to run correctly. Any insight or direction would be appreciated.