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

ROQL retrieve incidents with attachments (2 Comments)

$
0
0

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.

Version

Service Cloud Aug 2015

Viewing all articles
Browse latest Browse all 2504

Trending Articles