You need to sign in to do that
Don't have an account?
chenna1234
Trigger on opportunity object( Need urgent Help...!!!!!)
- I wrote update trigger on opportuntiy object depending upon services,products & sevices & products , so based upon that it will go to approval...
- so the trigger is firing for all status on opportunity( i.e for status="prospect" they is no need to have opportunity but all other status the opporunity needs to be added.)
- Is there anyway i can put condition in trigger to exclude status="prospect" but on rest of all status it need to fire...
Thanks in Advance
In Trigger, When your record is going for approval you can check condition there that if the Status != prospect then only execute code.
+1
use if statement in your trigger.
e.g. http://stackoverflow.com/questions/5548590/salesforce-apex-triggers-how-to-check-if-field-is-included-in-update-trigger
Thanks,