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

Populating an Incident field using a report

edited May 12, 2017 1:35PM in Reporting & Analytics for B2C Service 2 comments

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;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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