You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

queryObject with empty result

Accepted answer
17
Views
4
Comments
edited Jul 29, 2019 9:41AM in Integrations and APIs 4 comments

Summary

queryObject with empty result

Content

I have developed a php script where I use a query to bring specific items of a Custom Object (Resource), when I use the following code:

$queryResult = RNCPHP\ROQL::queryObject("select R from CO.Resource R where ID=3021 or ID=3019 or ID=3018 or ID=3015")->next(); var_dump($queryResult);

When I execute this code this is the var_dump result:

object(RightNow\Connect\v1_3\ROQLResult)#4 (0) { }

Why is this happening?, it is something I should add/change/remove?

Version

1_3
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!