Skip to main content Stream TDX Bengaluru on Salesforce+. Start learning the critical skills you need to build and deploy trusted autonomous agents with Agentforce. Register for free.

Feed

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

Hi Everyone, 

 

I'm trying to show the Total Cost of Campaign $$$ at the contact level for all campaigns they are associated with. I've built a record-triggered flow that runs when a Campaign's total cost is edited. I have a custom field that splits the amount of my campaign total cost by all linked contacts. I am pushing this split amount to the campaign member level. I am trying to sum all the costs at the campaign member level and have that push to the contact. Not sure if an easier way to do this but this is where I'm at. I've got everything set and working however only one of my contacts in my get contacts flow is updating correctly...the other contacts nothing happens. I think i'm missing a step to store in a collection all the contacts and my my step in flow that is "Update Contacts" is only doing it to one.  

 

Attached is my screenshot of my flow.  

 

Anyone have any thoughts on what I'm missing? 

 

thanks! 

 

 

 

 

 

#Flow  #Flows  #Campaigns  #Contacts

0/9000

when i want to filter down certain values and don't want some widgets to show as the global filters are not applied to certain widgets is this possible?

2 answers
  1. Divya Chauhan (Kcloud Technologies) Forum Ambassador
    Apr 30, 11:22 AM

    Hello, @Aine Byrne

      yes, in CRM Analytics, you can hide widgets when using certain global filters, even if those filters don't apply to widgets. 

    1.Disable Global Filter for the Widget-Edit the widget in the dashboard designer go to its properties and uncheck 'Apply Global Filters'.This stops the widget from reacting to the global filter. 

    2. Set up a binding to control the widget's visibility. In the dashboard JSON, add a binding to the widgets 'hidden' property.For Example, if the global filter selects a value that should hide the widget, use a condition like 

    {{cell(filterStep.selection,0,'value').asString()=='someValue'}} to set 'hidden':true. 

    3 . Apply the global filter and check if the widget hides as expected. Adjust the Binding logic if needed.

0/9000

I am looking to create a flow that runs everyday at a specific time which is simple 

I want that flow to perform an action against Opportunities that have a close date within 90 days. 

 

How to I accomplish that? 

 

#Flow

 

 

#Sales Cloud  #Salesforce Developer

2 answers
  1. May 4, 11:54 PM

    @Eric Burté

    but in the flow can you if the date that is Close Date - 90 is Less Than or Equal to Today()? 

     

    Should this help? 

    IF(TODAY()-(CloseDate-90) >= 0, "YES", "NO")

0/9000

I have been using PMM for several years now but have noticed an anomaly that I'm hoping someone can explain. Depending on the technique I use to log a service session, the service delivery may not appear as such on the contact's record.  

 

If I log the session in the Track Attendance area, it DOES appear as a service delivery on the contact's record:Tracking completed sessions

 

However, if instead I change the status under Information on the left of the same page, no service delivery appears on the contact's record: 

left.jpgAnd if I change the status in the service session view, again no service delivery appears on the contact's record:view.jpg

Why does this work differently depending on how I log the session? Is there a way to make it work from the view, which would be much easier and faster given how many sessions we do each day?  

 

 

1 answer
  1. May 4, 11:44 PM

    Hi Polly, 

    The difference there is because there's not a direct connection in PMM between the Session Status field and the creation of Service Delivery records: the Track Attendance component is an efficient tool because it does both steps - creating the Service Deliveries, and updating the Session Status - but they are still technically separate steps that aren't inherently linked, so just updating the Session Status doesn't create Service Delivery records. 

    (For examples, one advantage of having the two steps separated could be if I wanted to update a Session to the Competed status to say that staff were present during the time of the Session, but not create any Service Deliveries because no one came). 

    If you wanted to make it so that just updating the Session Status automatically created Service Deliveries for Service Participants in the associated Schedule, I believe the best way you could accomplish that would be with a Record Triggered Flow along these lines:

    • Object: Service Session
    • Condition: Status = Complete (only when a record is updated to meet the entry conditions)
    • Get Records: check if there's any Service Deliveries already on that Session
    • Decision: only continue to next steps if there are not already Service Deliveries found in the previous step (to prevent duplication)
    • Get Records: Service Participants on the same Service Schedule as the Session
    • Loop: loop through the Service Participants assigning Service Delivery values for each and then assigning those Service Deliveries to a Record Collection Variable.
    • Create Records: create the Service Deliveries
0/9000

Hello, 

 

I am stuck on yet another question. I am reading instructions, step by step. Even though I followed directions on this assignment, I am being told that "

We can't find that the ‘Manage Positions’ permission set grants read, create, and edit object permissions for Position.

" I even can't find the "Manage Positions permission set and Recruiters permission set group in the Object Access Summary for the Position object". I have a screenshot of the error message I am getting, despite reading instructions one step at a time. 

Issue on

 

 

 

#Trailhead Challenges

0/9000
0/9000

When editing a "ToDo" (work) recordtype i am unable to populate data on the "description" (agf__Details__c) field. It is visible on the UI lightning record page and is added to a page layout, however when clicking edit on the record, the field is no longer visible. (I have also checked FLS settings) 

 

 

1 answer
  1. May 4, 10:04 PM

    This issue could be related to the Record Type having a different layout, and that layout may not include the field or might have specific field visibility rules that hide it during editing.  

    I would suggest to check Record Type Layout,  ensure that the agf__Details__c field is included in the page layout for the ToDo(Work) record type. 

0/9000

Hello, 

 

I am looking for a formula to add in a validation rule which will apply only on a specific Opportunity Record Type (Record Type Id: 01220000000AOd6AAG) 

 

I am after a a validation rule for a picklist field (MFN_review_completed__c) to be required at given Opportunity Stages. The Opportunity stages are: 

Considering 

Deciding 

Committed 

Investing 

Invested 

Lost to competitor 

Business Withdrew 

Client Withdrew 

 

The picklist field that needs to required is called "MFN review completed" (API: MFN_review_completed__c ) 

 

Can you please assist me in the formula? 

 

 

#Answers  #Formulas  #Validation Rule  #Sales Cloud

2 answers
  1. May 4, 9:53 PM

    Try this validation rule that enforces the MFN_review_completed__c picklist field as required.

    AND(

    ISPICKVAL(StageName, "Considering"),

    ISPICKVAL(StageName, "Deciding"),

    ISPICKVAL(StageName, "Committed"),

    ISPICKVAL(StageName, "Investing"),

    ISPICKVAL(StageName, "Invested"),

    ISPICKVAL(StageName, "Lost to competitor"),

    ISPICKVAL(StageName, "Business Withdrew"),

    ISPICKVAL(StageName, "Client Withdrew"),

    ISBLANK(MFN_review_completed__c),

    RecordTypeId = "01220000000AOd6AAG"

    )

0/9000

Hello, 

 

I am looking for a formula to add in a validation rule which will apply only on a specific Opportunity Record Type "Seg Opp"  (Record Type Id: 01220000000AOd6AAG) 

 

I am after a a validation rule for a picklist field (MFN_review_completed__c) to be required at given Opportunity Stages. The Opportunity stages are: 

Considering 

Deciding 

Committed 

Investing 

Invested 

Lost to competitor 

Business Withdrew 

Client Withdrew  

 

How can i achieve this? 

 

#Answers  #Formulas

1 answer
  1. May 4, 8:58 AM

    AND(

    RecordTypeId = "01220000000AOd6AAG",

    ISPICKVAL(MFN_review_completed__c, ""),

    OR(

    ISPICKVAL(StageName, "Considering"),

    ISPICKVAL(StageName, "Deciding"),

    ISPICKVAL(StageName, "Committed"),

    ISPICKVAL(StageName, "Investing"),

    ISPICKVAL(StageName, "Invested"),

    ISPICKVAL(StageName, "Lost to competitor"),

    ISPICKVAL(StageName, "Business Withdrew"),

    ISPICKVAL(StageName, "Client Withdrew")

    )

    ). Makes sure you copy the correct recordtype and use the correct values for picklist field

0/9000

Okay so one of my users reached to me telling me that some of her assigned email cases for today are reopen cases and while those reopen cases included the case subtype, for some reason the case type is not appearing on the reopened cases. Prior to that case being reponed the case type field was filled when the case was originally created. 

1 answer
  1. May 4, 10:00 PM

    Check out these options if helps. 

    Option 1:

     

    In Salesforce, when a case is reopened, it is essentially reactivating an existing record, and certain fields, including Case Type, might not automatically get reset or re-populated unless explicitly handled by processes, workflows, or triggers.  

     

    If you want the Case Type field to be automatically populated when a case is reopened, consider setting up a Workflow Rule to check if the case status is set to "Reopened" or a similar status, and then update the Case Type accordingly.  

    Option 2:

     

    If there are Field Updates or flows involved with setting the Case Type, they may not be triggered upon reopening a case because Salesforce considers reopening as a status change rather than creating a new record.  

     

    Field Update on Case Status Change: Review your Field Update actions to ensure they also trigger when the Status is changed to "Reopened". If needed, adjust the criteria for the field update to account for this specific scenario.  

    Option 3: 

    Another possibility is that the Record Type of the case might have been changed when it was reopened, which could affect the visibility or default value of the Case Type field. 

     

    Check for Record Type Change: If the Record Type is changing upon reopening (e.g., from "New" to "Reopened"), check if different Page Layouts or default field values are associated with the new record type. Ensure the Case Type field is still visible and populated correctly in the layout for the reopened cases.  

0/9000