function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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