Is there anything available to us in Apex that can be used to determine if a trigger was fired by
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
Triggers (which represent the domain layer in a Separation of Concerns architecture) should not have to know how they were invoked as they could be invoked via
I was searching the same some time ago and it looks like the answer is NO. There is also an idea posted 6 years ago on that but yet not implemented. So it is an old one.