function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ShivaKarthikShivaKarthik 

Accessing all records from an object through Streaming API

Hi Friends,

I have a requirement displaying count of status='Working' and status='New' etc.. of all possible values of status field from case object. This is done using apex:actionpoller function in my code. Now I need to get done that using  Streaming API. Please post your ideas/comments how could I achieve this using Streaming API

Sonam_SFDCSonam_SFDC
Hi Shiva,

Not sure if this can be achieved through Streaming API, the query you would need to run wil have Count function which is something which is not supported with Push Topics Queries: http://www.salesforce.com/us/developer/docs/api_streaming/

I understand this post was posted in dec, did you find any other way to implement this req?