+ Start a Discussion
chenna1234chenna1234 

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

JitendraJitendra

In Trigger, When your record is going for approval you can check condition there that if the Status != prospect then only execute code.