Populating an Incident field using a report
Content
I have a custom object that I want to update using an agent console report.
One field in the custom object in an integer with a relationship to the ID on the Incident object.
How do I populate that field.
I have fetched the incident like so:
$inc = RightNow\Connect\v1_3\Incident::first("ReferenceNumber = '170512-000000'");
And I am fetching the custom object row like so:
$pa = \RightNow\Connect\v1_3\ROQL::queryObject("SELECT...
$paRow = $pa->next();
These are the things I have tried to set this Incident field in this custom object - none of which work:
$paRow->Incident->ID = 123;
Tagged:
0