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
lucky25lucky25 

Can we invoke on Trigger with in another Trigger?

   Can we invoke on Trigger with in another Trigger?

vriavmvriavm

Yes it will be handled by SFDC. If lets say u have atrigger on Account and with in that you create a opportunity and there exists an opportunity trigger then the opportunity trigger will be fired.

asish1989asish1989

Hi 

   Trigger generally can be fired by these activity INSERT UPDATE and DELETE.

    Lets have scenario I have two Trigger on two different object . Say Account object and Contact Object .

    I have written one Trigger on Account Object which will be fired before Insert  and have also written another Trigger On Contact        Object  which will be fired after Update .

  Now In first Trigger I will write some code which will update Contact Record . After Update Second Trigger will be fired .

  Finally I am able to fire One Trigger on another .

 

Did this post solve your problem If so please mark it solved otherwise let me know about your Issue

 

Thanks

asish