You need to sign in to do that
Don't have an account?
User One 35
I want to auto update Account Address in Contact, when Contact is created using process builder and apex
I want to auto update Account address when I create Contact and save account address should save in contact address by using process builder and Apex please can anyone help me on this
Or
You can this with the help of trigger.
I hope this helps.
Please check once following sample code.
Hope this helps you!
Thanks
Varaprasad
@For Support: varaprasad4sfdc@gmail.com
Thanks for replay, by using Apex and Process Builder to Auto update the Account address in the Contact Address when I save the Contacts
what you are looking for is invocable method. To call apex from process builder you need to annotate your apex method with @InvocableMethod annotation. Here it goes.
I will clarify the use of @invocablevariable and why parameters are sent in this patten, in a seperate and share it here.
In your process builder, you can call action as Apex, wizard will guide you thru it:
This is tested and verfiied. Hope this helps. Watch out for the post with more clarifications.
Cheers, Dev
Try this trigger --
This trigger update account billing address when you create a contact. Hope this clear you !!