+ Start a Discussion
SandrineSandrine 

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 Sandrine
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
SandrineSandrine
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