+ Start a Discussion

Simple (Hopefully) Task Trigger

Hey all,

I have no clue how to build triggers, but i know I need one to update a custom field on the task object.

Basically, I need the trigger to look up whatever the tasks are related to, take a bit of that name (we'll call it an office location) and then based upon that name, update the custom task field (which would take that very name we're looking at to make the trigger fire).

Any idea on how to do this?  Could someone point me in the right direction?  

Thanks so much!!

NehalNehal (Salesforce Developers) 

Please refer to links below that has an example on how you can write trigger:


I hope this helps. Please mark this as a "Best Answer" if this has resolved your issue.