You need to sign in to do that
Don't have an account?
VF
Update Trigger
Hello,
I wrote a trigger to change a contact field when an custom object is updated .
code:
trigger Test on Individual_Email_Results__c (after insert, after update) { |
Now i want to write the same trigger only when the Custom field is updated.
Here the custom field is : Hard_Bounce__c
for the custom object.
Please help me out this very much urjent for me.
Your help is appreciated always.
Thanks
shaan
Hey
You can compare the value for trigger.new[index].field__c and trigger.old[index].field__c. If it hasn't changed, then it hasn't been updated.
Wes
All Answers
Hey
You can compare the value for trigger.new[index].field__c and trigger.old[index].field__c. If it hasn't changed, then it hasn't been updated.
Wes
Hey,
Thanks once again Wez you helped me again from another issue.
you are such a gem.. Can u send me your mailid such that i can contact you for any future requests.
Thanks
shaan