Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

ROQL to fetch incident created between specific time (2 Comments)

$
0
0

Topic by Tony William

Hi all,
How can i get all the incidents created between a particular time using Roql
example start Time 22-Feb-2017 :00:00 and end time 22-Feb-2017 :24:00
I tried the below query and i am not getting the response as expected 

SELECT * FROM Incident WHERE Incident.FileAttachments.FileAttachmentList.FileName IS NOT NULL AND CreatedTime >= '2017-02-22T00:00:00Z' AND CreatedTime <= '2017-02-22T24:00:00Z'

Thanks
Tony


Viewing all articles
Browse latest Browse all 2504

Trending Articles