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
Neil KimNeil Kim 

Invoke Trigger when I update trigger Manually only.

Hi!

I have update trigger on A object, and in my org, there are the other class that update A.

In  this case, I'd like to make new update trigger, and i'd like to invoke it only when user update A object manully.
Existing trigger update A but dosen't invoke new trigger.

Is it possible?
Best Answer chosen by Neil Kim
Neil KimNeil Kim
Hi!

Thank you, and I found workaround yesterday.
I create checkbox field, and then use it for If statement.
By using this field, I checked it is autogenerated or updated manually.

All Answers

RD@SFRD@SF
Hi Kim,

This can get tricky, do you want this to run for any field update or a specific update or for a specific user, or a scenario. I am thinking if we could Identify such an event and run the second trigger on that, and update the first trigger to skip.

Hope it helps
Neil KimNeil Kim
Hi!

Thank you, and I found workaround yesterday.
I create checkbox field, and then use it for If statement.
By using this field, I checked it is autogenerated or updated manually.
This was selected as the best answer