Skip to main content
Hello, 

 

I am trying to create a new trigger. The scenario is the following: I have two fields on an Opportunity, one field is a picklist value and the other is a lookup field. If the picklist equals ABC, then I want the trigger to automatically associate the lookup field to the related ABC lookup field object. I am new to triggers, so any help is greatly appreciated. Thanks!
2 answers
  1. Oct 17, 2016, 9:40 PM
    Hi Lorenzo,

     

    You can get away just with Process Builder by hardcoding the record Id based on the picklist value depending on the picklist values you have under the picklist field, how many values do you have under the picklist field?
0/9000