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

write to incident from custom script in analytics

edited Jul 5, 2016 11:19AM in Reporting & Analytics for B2C Service 3 comments

Content

Hi

 

Ive setup established comms in the custom script editor of analytics as follows

    require_once(get_cfg_var('doc_root')."/ConnectPHP/Connect_init.php");
    initConnectAPI();
    use RightNow\Connect\v1_3 as RNCPHP;

 

 

What i then want to do is write to an incident from the process section per each row 

I can happily get and write to incidents from the initialization section but cannot figure out how to write to incidents in the process section.

 

does anyone have an example that i can learn from, understand and modfy for my use.

 

my report is a scheduled report that modifies incidents and currently im using query in initialization to get a collection and then modify.  id like it to process the incident id's from each row so i the client can maintain the report filter more easily.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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