Skip to main content The last day to register for a Salesforce or Tableau exam is June 30th. Learn more about the new Salesforce certification experience coming July 21st.

Feed

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

Hi!  

 

Thank you in advance for any advice you can provide. I'm trying to design a flow. Ideally, when an opportunity record is updated, the flow would look at the related account record. On the account record, there are grades K-12. Each relevant grade field will have the total number of students. Depending on the opportunity, some of the grade level fields may not be filled in. For example, if the opportunity is a K-5 school, then the 6-12 grade level fields on the account record won't be filled in. 

 

Ideally, the flow would pull the grade level fields if the field is filled in, calculate the average, and add the average to the opportunity record. 

 

Any idea how to design this flow? 

 

#Flows  #Automation  #Formulas  #Help  #Flow

1 answer
  1. Divya Chauhan (Kcloud Technologies) Forum Ambassador
    Today, 5:17 AM

    Hello @Jessica Lamadieu

     

    Salesforce Flow to Calculate Average Students (K-12) on Opportunity Update- 

    1. Record-Triggered Flow: Create a Flow for Opportunity on Update. 

    2. Get Account: Use Records to fetch the related Account via Account ID. 

    3. Variables: Create totalStudents (Number,0) and filledFieldsCount(Number,0). 

    4.L oop Grades: Loop through grade fields(K-1 ,e.g., Grade_K__c).for non-null/non-zero fields: 

    Add value to totalStudents. 

    Increment the filled Fields Count. 

    5 . Calculate Average: If filledFieldsCount > 0, compute the total student filledFieldsCount and store it in averageStudents. 

    6. Update Opportunity: Set Avrage_Students__c on Opportunity to averageStudents. 

    7 . Error Handling: Add fault path for Get Records and check filledFieldCount to avoid division by zero. 

    8. Tes:S ave as Calc_Avg_Students_Opportunity test with varied grade data.

0/9000

We can't find that the Experience Management topic has been added to the CC Service Agent. how to add the experience management

 

#Trailhead Challenges

1 answer
  1. Piyusha Pilania (Horizontal Digital) Forum Ambassador
    Today, 5:15 AM

    Hi @Sanjivani Kawale

     

    Have you saved and activated the agent?  

     

    Double check the steps once again. If everything is correct and you are still getting this error, please create a new org and redo the challenge. 

     

    To create a new Agentforce org please follow the below steps.

     

    1. Open Hands-On Orgs (https://trailhead.salesforce.com/users/profiles/orgs) page.

    2. Click on Create Playground button (wait 2 to 3 minutes to create playground org)

    3. Once it is created, you'll be able to disconnect the existing org' (Org shows Disconnect option)

    4. After disconnecting the org, open the Agentforce  challenge and click checkbox then click "Create Playground" button.

    5. Check your email inbox and set password to the new org.

    6. Now go to module and Click on Connect Org button at challenge page and connect the org and click Yes, Save It button.

     

    Now you can launch the newly connected org to complete the challenge.

0/9000
2 answers
  1. Piyusha Pilania (Horizontal Digital) Forum Ambassador
    Today, 5:13 AM

    @Eekshith Gowd Ganduri

    Can you double check the names of the page and the flow?  

     

    Also, have you saved and activated the contact record page? 

     

     

0/9000

Hey everyone, looking for some clarification on email tracking in Sales Engagement. Users have noticed the reply rate metric doesn't seem to be accurately tracking email replies. I've looked through the help documents but haven't found anything specific regarding this. For reference all other engagement metrics (delivery, open rate, links clicked, etc.) appear to be tracking. Some email replies track but not all. I opened a case with SF support and was told that in order to track replies, a listener element (email reply) needs to be added to the cadence. Is this correct? It seems odd when the other 2 listener elements (email open & link click) are tracking perfectly without those elements being added to the cadence. Any help is much appreciated.

4 answers
  1. Today, 5:12 AM

    Has anyone found a resolution for this issue?  We’re using Cadence Builder 2.0, and email replies are not triggering the transition from the Main Track to the Positive Track as expected when a lead responds. The reply is received and shows in the activity timeline, but the cadence continues along the Main Track instead of branching. Would appreciate any insight or confirmation if others have resolved this behavior. @Will Jones @Nicholas Marques @Andy Kallio

0/9000

When selecting HTTP method as GET it is not allowing to provide HTTP request body. But the API I am using required a HTTP body

2 answers
  1. Today, 5:07 AM

    Is it possible to do it in LWC , Js using fetch() metod? Because Iam also in the simillar sitiation where Iam not able to get data from API but it requires body. Apex is not supporting

0/9000
3 answers
0/9000
1 answer
  1. Today, 1:12 AM

    Hi , 

     

    Go to setup and search for Big Objects, open the "Rider History" object and in the "Custom Fields & Relationships" table check whether you have correctly populated the 'Start Location Latitude' info such as the Field Label, API Name and Data Type. In the API Name give "Start_Location_Latitude__c". It will work, since I have done the same in my org and I have successfully achieved it. 

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007T4PHZSA3

0/9000

I have a custom field on Product2, which I have added and mapped in the SalesTransactionContext, under the SalesTransactionItem node 

 

I want to use this field in the Advanced Configurator, using CML in a Constraint Model rule, but so far I cannot get the value from the Product2 custom field to hydrate.  

 

I either get an unbound variable, or I have to save the product to an Order Line Item first which is not useful for a Constraint Model rule 

I'm using this pattern 

@(ContextPath="SalesTransactionItem.Custom_Field__c")

boolean CustomField;

message(true, "Custom field = " + CustomField);

 

I've tried multiple different fields that are already existing on the SalesTransactionContext  and some hydrate, some do not. 

0/9000

Hi team, 

I am working in data cloud implementation and need to migrate the changes from one org to another. Can we use the sf cli for the retrieval/deployment of the metadata components and other related components? 

 

Please suggest the way to setup CICD for the data cloud. 

 

#Data Cloud  #Devops

0/9000