You need to sign in to do that
Don't have an account?

Trigger to update the task status after opportunity
I want to write a trigger on the task which updates the task status to completed after the oipportunity is set to Closed Won or Closed lost.
This is to basically prevent any closed opportunities which still have open tasks.
This is to basically prevent any closed opportunities which still have open tasks.
You are using single "=" in comparison, it shoud be double "=" sign. Like below
If that solves your query, please like this post and mark this as the best answer.
All Answers
try this tigger:-
Thanks
Anil.B
You are using single "=" in comparison, it shoud be double "=" sign. Like below
If that solves your query, please like this post and mark this as the best answer.