+ Start a Discussion

Automatically Create a Record

Hi All!
I am trying to auto create a record in a custom object when a new "Case" record is manually created.
I assume I use a trigger to set this up but dont even know where to begin.  Can someone please point me in the right direction.
In addition, I would like a field in the custom object to be automatically populated with information from the new "case" record.
Thank you in advance for any information you can provide.

create trigger on case for "after create"

use cookbook for sample code.
You should use 'after insert' trigger.
Find help at: https://cs2.salesforce.com/help/doc/en/code_define_trigger.htm