0

Im having two objects object1(Parent) & object2(Child) with lookup relationship. Now my requirement is that I need to create a button on child and when I click this button I need to create a parent Record with the appropriate values. Can this done by using Process Builder? Suggestions Please. Fields need to be updated are

Name : Child Object Name

Due Date : 5 days from the current date

Record Type : ACI Internal

Internal Party : User that is clicking the button

and so on, where remaining values are static values

2
  • You can use Flow or trigger for the same. tell me what are the values you want to enter and what is parent and child object API's. Sep 6 '18 at 11:38
  • what you have done about preliminary investigation? Sep 6 '18 at 12:51
1

Are you working in Lightning or Classic? You should be able to use an Action to accomplish this. For example, if you wanted to create an Opportunity (parent) from a Quote (child), you would create a new Action on the Quote record.

enter image description here

You would then drag any fields you want the user to fill out onto the Action's page layout.

enter image description here

Then you can also set predefined field values as part of the Action. This example shows the Opportunity Close Date as 5 days from today.

enter image description here

Then just drag the button for the action onto the child record's page layout. If you are in Classic, the only thing is that this Action will be present in the Chatter feed for the record, not at the top with the standard buttons. You'll add it to Quick Actions in the Salesforce Classic Publisher. In Lightning, you'll add it to Salesforce Mobile and Lightning Experience Actions, and it will appear in the upper right corner with the rest of the buttons.

enter image description here

Here's a link to the SF Trailhead for more details: https://trailhead.salesforce.com/en/modules/salesforce1_mobile_app/units/salesforce1_mobile_app_actions_objectspecific

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.