Quantcast
Viewing all articles
Browse latest Browse all 2504

Error while run report search filter using ConnectPHP

Topic by Baljeet Singh

Content

Hi, 

I have report which has some search date range filter. I want to get incidents which are created between two specific dates or transactions.created. I have two filters 

  • incidents.created       (Filter Name: IncidentCreated)
  • transactions.created  (Filter Name: TimeRange)

When I run this report with search filter values then I am getting this error message.

Cannot run AnalyticsReport: SA Incident moved to another queue hourly(ID=104770): REPORT_ERROR_EXCEEDS_TIME_THRESHOLD

Does it mean report getting too much time to get results or something else?
 
I am not using ROQL query because report is faster than ROQL query. I found the similar post which is facing similar type of issue.
 
 
Here is the code 

            $status_filter            = new RNCPHP\AnalyticsReportSearchFilter;
            $status_filter->Name     = 'TimeRange';
            $status_filter->Values     = array( '1457009241','1457005641' );
            $Operator                 =   new RNCPHP\NamedIDOptList();
            $Operator->ID            =  6;
            $Operator2                 = new RNCPHP\NamedIDOptList();
            $Operator2->ID             = 4;
                                  
            $filters     = new RNCPHP\AnalyticsReportSearchFilterArray;
            $filters[]    = $status_filter;
            $ar            = RNCPHP\AnalyticsReport::fetch( $report_id);
            $arr        = $ar->run( 0, $filters );
            $nrows        = $arr->count();

 

Anyone has an idea how to fix this issue?

Thanks in advance !!

Regards

Baljeet Singh

 

Version

Oracle RightNow CX Cloud Service February 2014

Viewing all articles
Browse latest Browse all 2504

Trending Articles