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
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.