Skip to main content Heads Up, Trailblazers! Potential Impact to Playgrounds: We're performing some important maintenance beginning on June 27th, 2025. During this time, some of you might temporarily have trouble creating a new Trailhead Playground. If you hit a snag, please try again a bit later. Thanks for your patience as we work to improve your learning experience!

Feed

Connect with fellow Trailblazers. Ask and answer questions to build your skills and network.

Looking to add: If unapprovedcheckbox__c is checked and the date is >= 7/1/25 than multiply by .2 

 

Current formula is: 

IF(AND(ISPICKVAL(Who_Files_SL_Tax__c, "ARMR"), YEAR(Effective_Date__c) >= 2023, ARMR_Agrees_to_Reduced_Fee__c = false), 

 

IF(ISPICKVAL(Commission_Type_ARMR__c, "Percent"), 

((Premium__c - Return_Premium__c) * Commission_Payable_ARMR__c) + R_D_Brokerage_Analysis_minus_300__c, 

IF(ISPICKVAL(Commission_Type_ARMR__c, "Flat Fee"), 

Flat_Fee_Commission_Payable_ARMR__c + R_D_Brokerage_Analysis_minus_300__c, 

NULL) 

), 

IF(ISPICKVAL(Commission_Type_ARMR__c, "Percent"), 

((Premium__c - Return_Premium__c) * Commission_Payable_ARMR__c) + R_D_Brokerage_Analysis__c, 

IF(ISPICKVAL(Commission_Type_ARMR__c, "Flat Fee"), 

Flat_Fee_Commission_Payable_ARMR__c + R_D_Brokerage_Analysis__c, 

NULL) 

 

Any thoughts on the best way to go about doing this?

0/9000

Hi, everyone! I wanted to ask how you are tracking the following:   

 

Scenario: 

A donor pledges a $60,000 gift to be paid over 5 years. (Currently, we are tracking this as an Opportunity -- not as a Recurring Donation -- with a custom record type of "Pledge" and stage of "Closed Won."  Then 5 Payment records are created to track over 5 years.)  

 

Donor paid the first two $12,000 installments as planned, but then was unable to pay the remaining 3 payments. The remaining payment records are checked "Written Off" but 

how do you track the accurate (hard credit) amount of the gift for the Donor, because the original pledge Opportunity now shows an amount of $60,000, but the total payment amount received ONLY = $24,000? 

 

 Any tips are much appreciated. Thank you! :)   

 

@Judi Sohn @Dar Veverka @Salesforce.org MVPs @Salesforce.org System Administrators @Nonprofit Ask Me Anything (Global) @Nonprofit Success Pack

 

#Nonprofit  #Nonprofit Success Pack  #Donation Pledges

6 answers
  1. Today, 7:16 PM

    To accurately track the amount of the gift in Salesforce when a donor is unable to fulfill the entire pledge, you can follow these steps to adjust the original Opportunity and reflect the actual amount received. Here’s a detailed approach: 

    Step 1: Adjust the Original Opportunity

     

    1.

    Clone the Original Opportunity

    - Clone the original Opportunity to create a new record that will represent the written-off amount. 

    - Set the amount of the cloned Opportunity to the written-off amount ($36,000 in this case). 

    - Set the stage of the cloned Opportunity to a custom stage like "Written Off" or "Cancelled". 

    2.

    Adjust the Original Opportunity Amount

    - Update the amount of the original Opportunity to reflect the actual amount received ($24,000). 

    - Ensure the stage remains "Closed Won" to indicate that the received amount is finalized. 

    Step 2: Track Payments and Write-Offs

     

    1.

    Update Payment Records

    - Ensure that the payment records for the first two installments are marked as "Paid" or "Completed". 

    - For the remaining three payment records, mark them as "Written Off" or "Cancelled". 

    2.

    Create a Custom Field for Total Received Amount

    - Create a custom field on the Opportunity object to track the total amount received. 

    - Use a roll-up summary field or a custom formula to calculate the total amount received from the related payment records. 

    Step 3: Reporting and Dashboards

     

    1.

    Create a Report for Pledges and Payments

    - Create a custom report type that includes Opportunities and related Payment records. 

    - Use this report to track the total pledged amount, total received amount, and total written-off amount. 

    2.

    Create a Dashboard

    - Create a dashboard to visualize the data from the report. 

    - Include components that show the total pledged amount, total received amount, and total written-off amount. 

    Example: Adjusting the Original Opportunity

     

    1.

    Clone the Original Opportunity

    - Navigate to the original Opportunity. 

    - Click the "Clone" button.

    - Set the amount to $36,000 (the written-off amount). 

    - Set the stage to "Written Off" or "Cancelled". 

    - Save the cloned Opportunity. 

    2.

    Adjust the Original Opportunity Amount

    - Navigate to the original Opportunity. 

    - Edit the Opportunity. 

    - Change the amount to $24,000 (the amount actually received). 

    - Save the changes. 

    Example: Creating a Custom Field for Total Received Amount

     

    1.

    Create a Custom Field

    - Go to Setup. 

    - In the Quick Find box, type "Object Manager". 

    - Select "Opportunity". 

    - Click on "Fields & Relationships". 

    - Click "New" to create a new custom field. 

    - Choose "Currency" as the field type. 

    - Name the field "Total Received Amount". 

    - Save the field. 

    2.

    Create a Roll-Up Summary Field

    - If you have a custom object for Payment records, create a roll-up summary field on the Opportunity object. 

    - Go to "Fields & Relationships" on the Opportunity object. 

    - Click "New" to create a new roll-up summary field. 

    - Name the field "Total Received Amount". 

    - Select the Payment object as the related object. 

    - Choose "SUM" as the roll-up type and select the amount field from the Payment object. 

    - Save the field. 

    Example: Creating a Report

     

    1.

    Create a Custom Report Type

    - Go to Setup. 

    - In the Quick Find box, type "Report Types". 

    - Click "New Custom Report Type". 

    - Select "Opportunities" as the primary object. 

    - Add "Payments" as the related object. 

    - Save the report type. 

    2.

    Create a Report

    - Go to the Reports tab. 

    - Click "New Report". 

    - Select the custom report type you just created. 

    - Add fields for Opportunity Amount, Total Received Amount, and Payment Status. 

    - Add filters to show only relevant records. 

    - Save and run the report. 

    By following these steps, you can accurately track the amount of the gift, including the received and written-off amounts, ensuring that your records reflect the true financial situation. I 

0/9000
5 answers
0/9000

I have an orchestrated approval with three approvers. The approval process itself is working correctly now. I'm trying to add information in the screen flow used to gather info from the approvers. I've successfully added input variables to the screen flow, but no changes that I make to the screen in the screen flow appear to the approvers. What is going on here? 

 

I've deleted the older versions of the screen flow. I've deleted the older versions of the orchestration flow. It looks like what is being shown is maybe the original version of the screen from the template. How would I change this?

5 answers
0/9000

Hello, we have an ORG with NPSP. On the contact level there are 4 email fields one is called Email and 3 more (personal email, work email, and Alternate Email) and a pick list that picks between these 3 types of email address (npe01__Preferred_Email__c) and depending on what is selected on this picklist it will automatically copy the email value on the corresponding field to the Email field. 

 

My question is, how can I add another email option (assistant email) to this pick list so it gets copied to the Email field? 

 

So far what I have is: 

1- Create assistant email custom field 

2- Add assistant email to the picklist values of npe01__Preferred_Email__c 

3- ??? 

 

I am not sure what the process is that once the contact is updated/created it know how to relate the picklist value of npe01__Preferred_Email__c to the corresponding of the 3 email fields and then copies that value to the Email field. 

It is not a formula field on the Email field. 

 

Any help would be appreciated. 

 

Thank you, 

 

#NPSP

9 answers
  1. Today, 7:12 PM

    @Armando de la Torre Figueras

     

    As this field is being used under workflow rules and other areas of your org - this might impact the data/ ongoing business functionality when you disable it .  

    Requesting you to check internally with your team before proceeding with any solution. 

     

    Regards 

    Sravani

0/9000

I've created an orchestrated approval along with a custom subflow created from scratch with a customized screen components in the flow. The flow returns the expected approval value and comment. 

 

When I approve a record that uses this orchestrated approval, I see the following screen, not the one I created. In the flow, I can see that my subflow is the one named in the steps. Where does this mystery approval screen come from? Is there a way to substitute my own? I want to provide some additional context to the approvers. 

 

Orchestrated Approval - where does the approval screen come from?

 

Below is the approval screen I created: 

 

Approval Screen Created.png

 

 

4 answers
  1. Today, 7:08 PM

    I see the Approvals Workflow: Evaluate Approval Requests flow. That's not the one I have selected in my orchestrated flow. It also doesn't show the text "Review approval work item". @Jayaprakash .

0/9000

Please refer the below screenshot I want to SUM the selected Number of Units and on click of Calculate Service Units I want the sum without going to the next screen  

How can I pass the mutilselected rows data to the action and get the sum of the field - Number of Service Units? in the screen flow as form of reactive

 

 

 

#Flow  #Screen Flow

3 answers
0/9000
1 answer
  1. Today, 6:56 PM

    Hi @Pragati Tatuskar

      

     

    Even though the Agentforce Agent toggle is enabled in setup, it may not be connected or activated in your Messaging Channel / Chat Deployment. 

    Solution: 

    • Go to Setup → Embedded Service Deployments
    • Choose your deployment
    • Check under Messaging Settings or Chat Settings
    • Ensure Agentforce is linked and activated
0/9000