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
Nishchal Vashisht 1Nishchal Vashisht 1 

Interaction Between two different trigger?

Is it possible to make interaction between two triggers ? Suppose I have two different triggers A and B. In A I want to save a List of id who Trigger.new and in other trigger B I want to access that list. Both Trigger are on different object. Is it possible
SwethaSwetha (Salesforce Developers) 
HI Nishchal,
What is the use case you are trying to achieve?
Nishchal Vashisht 1Nishchal Vashisht 1
@Swetha In Trigger A I am creating a list which holds Id of records on which Trigger is called (saving Id of trigger.new). In trigger B I need to access that list so I can check that these are the new records. Both A and B are on different object