Topic by David Lee
Content
Hi,
I need some help to correct the syntax below:
$roql_result = RNCPHP\ROQL::query("SELECT ID from incident where Incident.CustomFields.ASEF.RelatedIncident = ".$obj->ID)->next();
I am trying to pass the current incident ID into the SELECT to pull up those child incident that belong to the current parent incident, but keep getting syntax error.
Thanks in advance.
Regards,
Fernando