Skip to main content
All

I am kind of new to Apex coding and I was wondering if anyone could help me with the updating the apex trigger I have saved as an images.I had to save the coding in images because of the new Text limit feature by SF.

In the Consumer__c picklist field in the Loan__c custom object, contains the values

 

  •  Not reviewed
  •  Consumer
  •  Non-consumer
  •  Insufficient information
  • Ambiguous 
  •  
  • Request 1: When a user selects “Non-consumer” in the Consumer__c picklist field in the Loan__c object , in the Opportunity object, the Consumer_Loan__c checkbox  = TRUE and the Consumer_Loan_Hidden__c = FALSE

 

Request 2: When a user selects “Ambiguous”, “'Insufficient information”, or picklist is blank with no value,  in the Consumer__c picklist field in Loan__c object , in the Opportunity object, the Consumer_Loan_Hidden__c checkbox  = TRUE.

Apex trigger - request update

User-added image
5 answers
  1. Jun 10, 2015, 2:39 PM
    I tried using workflow and proccess builder however I could not make it work because I could not view the Consumer_Loan_Hidden__c and Consumer_Loan__c fields in Opportunities when creating the workflow and proccess builder using the Loan__c object.
0/9000