+ Start a Discussion

Trigger is creating 2 tasks rather than 1

I have a trigger that is executing 2 tasks rather than 1.  I was informed by Salesforce, the problem is related to the workflow rules; meaning the trigger is being activated twice.


What should I be doing differently to have the trigger executed once?


put a flag field in the database object and check the field along with the workflow where you want the trigger to be execute..if not put a condition not to execute the trigger code.....