write to incident from custom script in analytics
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.