You need to sign in to do that
Don't have an account?

Assign contact to opportunity
Hi,
I need a suggestion in this requirement there is a contact lookup created in opportunity page this field should be updated automatically.
When a lead is converted in salesforce it gets converted into Account, Opportunity and Contact my requirement is to update the contact information to opportunity lookup please suggest me can i create a trigger and update will this be a good approach or there is any alternative way like workflow we to update please suggest
Thanks
Sudhir
I need a suggestion in this requirement there is a contact lookup created in opportunity page this field should be updated automatically.
When a lead is converted in salesforce it gets converted into Account, Opportunity and Contact my requirement is to update the contact information to opportunity lookup please suggest me can i create a trigger and update will this be a good approach or there is any alternative way like workflow we to update please suggest
Thanks
Sudhir
I completely understand your requirement.
Please contact me to discuss further SANDY@MIRKETA.COM.
Sandy
It can be done using trigger or may be process builder. i am not sure about process builder but it will done by trigger.
Thanks
Gyani
Can i try something like below code
Thanks
Sudhir
you can't use Work flow rule to populate lookup fields, you can either use Trigger or Process builder. Process Builder is not bulkified and has some known issues with bulkification (Too Many SOQL issues, even after using fastLookup and FastCreate in flows). So my suggestion is go with trigger.
Thanks
Sudhir