Skip to main content
All,

 

Please view request below

 

In the Opportunities object within the Stage picklist field, there are values “Ready” and “Closed”

 

In a custom object name Loan__c , I have a checkbox field name Uncollectable_On_Receipt__c

 

Below are the relationships that exist between the 2 objects

  • Lookup relationship from Opportunity to Loan
  • Lookup relationship from Loan to Opportunity

 

Request – When a user selects “Ready” or “Closed” in the Stage picklist field in Opportunity, I want the Uncollectable_On_Receipt__c in Loan__c = TRUE.

 

Question – Can I create a workflow Rule with a field update or can I Process Builder to accomplish my request? If I could use both, which one I should use? 
21 answers
  1. Mar 17, 2015, 2:11 AM
    OK, so I recreated your opportunity/loan objects and lookup relationships and verified that this approach works using declarative solutions only. 

     

     

    1. On the opportunity, create a custom checkbox field

      1. E.g. field name ‘Field X’
    2. Create an opportunity workflow rule

      1. Rule Criteria:  ISCHANGED(StageName) && ISPICKVAL(PRIORVALUE(StageName) , "Ready") && OR(ISPICKVAL(StageName, "Closed Won"), ISPICKVAL(StageName, "Closed Lost"))
      2. NOTE: I used ‘Closed Won’ and ‘Closed lost’ – you need to OR together all the appropriate Stages for your org
      3. Action

        1. Field Update
        2. ‘Field X’ to TRUE
        3. Check the box for ‘Re-evaluate Workflow Rules after Field Change’
    3. Create a Process

      1. Object: Opportunity
      2. Criteria

        1. Criteria for Executing:  Filter Condition
        2. Field:  [Opportunity].Field X
        3. Operator:  EQUALS
        4. Value:  True
        5. Check the box for ‘Do you want to execute the actions only when specified changes are made to the record?’
      3. Immediate Action:

        1. Object: [Opportunity].Loan
        2. Field: Uncollectable_On_Recepit
        3. Value: True
0/9000