When you call the Insert, Modify, or Delete functions, it is important to specify the ๐๐ฎ๐ง๐๐ซ๐ข๐ ๐ ๐๐ซ parameter. If you do not include this parameter, the compiler assumes you ๐
๐ ๐๐๐ ๐๐๐๐ to run the trigger.
๐จ๐๐๐๐๐ ๐๐ ๐๐๐๐๐ ๐๐๐๐๐ ๐๐๐๐ ๐๐๐๐๐๐๐๐๐๐.
For example:
If you do not want to run the trigger, use:Record.Modify(๐๐๐ฅ๐ฌ๐);
Avoid using:Record.Modify();
If you want to run the trigger, use:Record.Modify(๐ญ๐ซ๐ฎ๐);
Specifying the RunTrigger conveys your intentions to others, ensuring that the next person reviewing your code understands precisely what you tried to achieve.
Regards,
Tharanga Chandrasekara