function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CheziBurakCheziBurak 

Trigger on Platform Event NOT executing

I created a Platform Event (RUS__e) and a trigger on the event. This is used to calculate roll up code logic on edit events.
A few days ago - the trigger stopped working. I see the event created in the BUS (using workbench subscribe) - but when I debug the Automated Process user - I can't see the trigger is executing!
 
trigger RUS_Trigger on RUS__e (after insert) {

    Integer counter = 0;
    Map<Id,SObject> objectsMap;
        
    for (RUS__e event : Trigger.New) {
 System.debug(JSON.serialize(event));
   }
 
    
}