You need to sign in to do that
Don't have an account?
SFDummy
How to determine trigger execution is complete
Hello,
I am trying to make @future callout after the trigger execution is complete. But how do I determine that that trigger execution is completed?
I am trying to make @future callout after the trigger execution is complete. But how do I determine that that trigger execution is completed?
pankul gupta
The only way to check if a trigger has been fired by enabling the debug logs and let the trigger been fired at the expected functionality and check in the logs if it's been fired or not.
Raj Vakati
Setting up debugs logs will not help you .. Do one thing .. As triggers are executing synchronously call you @feature method from the last line of the Tigger code
SFDummy
@Raj V Thanks much for your response. Yes, Debug log will not work, because I want to programmatically determine trigger execution is complete. I tried adding the call to the end of the trigger. But due to the process builder/Workflow rule trigger is firing one more time. when I count the trigger sometime calls once up to three times based on criteria.