Custom php scripts not working for Bulk insert or update
Content
Hi All,
i want the custom php script to be executed for bulk insert and update of data through data import wizard.
The script is working fine when i insert data using REST, but the same script is not working when i insert data using data import wizard.
Please find the code snippet below, what are the changes i want to make to the php scripts to make it work for bulk upload of data using data import wizard.
Version
Service cloudCode Snippet
<? /* * CPMObjectEventHandler: Reservation_OND * Package: CO * Objects: CO$Segment * Actions: Create * Version: 1.2 */ use \RightNow\Connect\v1_2 as RNCPHP; use \RightNow\CPM\v1 as RNCPM; class Reservation_OND implements RNCPM\ObjectEventHandler { public static function apply( $run_mode, $action, $Segment, $cycle ) { if ($cycle !== 0) return; if (RNCPM\ActionCreate == $action) { $MinONDGroupID;
0