+ Start a Discussion
Wingsrul91Wingsrul91 

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.
NaishadhNaishadh
Hi,

create trigger on case for "after create"

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