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

Exception error on CPM ROQL query

Accepted answer
8
Views
3
Comments
edited May 12, 2018 7:46AM in Integrations and APIs 3 comments

Content

I am getting an exception error on the following line in testing of a CPM and I cannot see what is wrong. Can anyone identify what might be causing it? (error message attached). I have used similar code before without issue. We have recently upgraded to version 17D though.

$activelog = RNCPHP\ROQL::queryObject("SELECT SCBS_SUP.Lifecycle FROM SCBS_SUP.Lifecycle WHERE Active = 1 AND Supporter=".$Lifecycle->Supporter->ID)->next();

Version

Service Cloud 17D

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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