Unable to POST with Oracle Sales Cloud using Event Handler.
Content
Hi,
I have to integrate Opportunities in Oracle Service Cloud with Leads in Oracle SALES Cloud. There is no ICS in this implementation so I need to configure this using an event handler in Service Cloud. Check the code I am using.
I am not getting anything. Not even something in the logs. Could you help me solve this problem?
thanks
Code Snippet
<?php /* * CPMObjectEventHandler: on_opportunity_create * Package: RN * Objects: Opportunity * Actions: Create, Update * Version: 1.2 */ use \RightNow\Connect\v1_2 as RNCPHP; use \RightNow\CPM\v1 as RNCPM; use RightNow\Connect\v1_2\Audit as RNCPHP_Audit; class on_opportunity_create implements RNCPM\ObjectEventHandler { public static function apply( $run_mode, $action, $obj, $n_cycles) { echo "Line 20"; if ($n_cycles !== 0) return; if (RNCPM\ActionUpdate == $action) { }
2