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
AbAb 

not able to execute trigger

Hello,

I have wrtitten a triger like below:

trigger contractAfterInsert on Contract (after insert) {   

When i create new contract, the trigger is never executed, i cecked in prespective analysis, only the validation rule and wrkflow is executed

any idea on reason ?
Best Answer chosen by Ab
Craig PhoenixCraig Phoenix
What is the code within the Trigger? simply having the opening line to declare the Trigger will not do anything.

The code within the Trigger is whats keep for what you are trying to do as well as when it shows up on analysis.

All Answers

Swathi soma 2Swathi soma 2
Please check whether trigger is active or not
AbAb
it was active
Craig PhoenixCraig Phoenix
What is the code within the Trigger? simply having the opening line to declare the Trigger will not do anything.

The code within the Trigger is whats keep for what you are trying to do as well as when it shows up on analysis.
This was selected as the best answer