How to get Values of System Attributes attached to Incident object using ROQL
SummarySystem Attributes attached to Incident object using ROQL
I am writing object event handle using connect PHP and querying incident object as below to fetch value from a system attribute which is highlighted in RED color.
$roql_result_set = RNCPHP\ROQL::query("SELECT Incident.ID ID, Incident.PrimaryContact.ParentContact.ID CID, Incident.CustomFields.CO.ParentIncident CHILD FROM Incident WHERE Incident.ID = " . $object->ID);
This query works fine Connect object Explore ( ROQL Editor in Customer Portal),
The same is not working in Connect PHP in below mentioned code.
while ($roql_result = $roql_result_set->next())
while ($row = $roql_result->next())