Topic by Vlad Ardelean
Content
Hi all,
I am trying to pull a range of incidents in ROQL based on the creation date and the presence of attachments and I am not sure of the syntax.
I'm trying the following, but it doesn't work:
SELECT Incident FROM Incident WHERE FileAttachments IS NOT NULL AND CreatedTime >= '2016-02-16T00:00:00Z' AND CreatedTime <= '2016-02-17T00:00:00Z'
Any help is appreciated.