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
Harshitha KudurHarshitha Kudur 

Can i write a global trigger that can be called from any button placed on any object? The button should send the caller information such as object name and SF record id to the trigger??

ManojjenaManojjena
H Harshitha,

Trigger you need to write in each object ,but you can write a dynamic handler class which can call from all trigger and give functionality to all .

Where basically you can use sObject  and handle all inside class .

I think it helps ,