Get current object data in custom model process (CPM)
Content
Please see code below - just fiddling with some random stuff at this point. I have the if/else statements. My question is how would I check the current value of let's say the product, category or queue to be additional conditions on the if/else statement
Code Snippet
class MinimalIncidentHandler implements RNCPM\ObjectEventHandler { /** * Apply CPM logic to object. * @param int $runMode * @param int $action * @param object $incident * @param int $cycles */ public static function apply($runMode, $action, $incident, $cycle) { if ($cycle !== 0) return;
0