Custom script in report not working
Summary
Custom script not updating Incident dataContent
Hi ,
I have requirement where I need to update incident Status of the records that meets condition . I change Incident status from 'Solved' to 'Closed'.
My report brings the records properly.
But the custom script written in Process tab not giving the result.
Plz help.
Service Cloud Version : 18C
Code in initialization tab
----------------------------------
require_once(get_cfg_var('doc_root') . '/include/ConnectPHP/Connect_init.phph' );
initConnectAPI();
putenv('TEMPORARY_RNW_CONF_DIRECTORY');
Code in Process tab mentioned below
-------------------------------------------------
$inc_id = $rows[0][0]->val;
$incident = RightNow\Connect\v1_4\Incident::fetch($inc_id);
Tagged:
0