+ Start a Discussion
Puja Patil 13Puja Patil 13 

Trigger to insert child record

I have 3 objects Leap , Test , Student.
Leap - Parent Object
Test - Child of Leap
Student - Child of Test

I want trigger when Leap is created new test and student also create.
SimoneComastriSimoneComastri
Hi Puja,
have you tried using Process Builder?
If the answer is no, this link could help you to understand if It can be useful :
http://docs.releasenotes.salesforce.com/en-us/spring15/release-notes/rn_forcecom_process_visually_automate.htm
and you can try to implement using trailhead: https://trailhead.salesforce.com/en/business_process_automation/process_builder

Good luck!
 
Puja Patil 13Puja Patil 13
thanks Simone...!!


But i have to implement it by trigger..
As my seniors requirment..
SimoneComastriSimoneComastri
Ok maybe this post can help you:

https://developer.salesforce.com/forums/?id=906F0000000DE8EIAW

Good luck,
Simone.
Puja Patil 13Puja Patil 13
hi Simone...!!
Can you please send me link again..
SimoneComastriSimoneComastri
LINK (https://developer.salesforce.com/forums/?id=906F0000000DE8EIAW) or https://developer.salesforce.com/forums/?id=906F0000000DE8EIAW