Skip to main content

#Salesforce Platform14 debatiendo

I’m working with a Salesforce Flow that processes a relatively large number of records, and I’m looking for ways to improve its performance and reliability. 

 

The Flow currently performs several record queries and updates during execution. As the amount of data increases

,

the Flow takes longer to complete and can sometimes approach Salesforce governor limits. 

 

What are some recommended approaches for optimizing a Flow in this situation? For example, would reducing Get Records operations, using collections more effectively, or moving some logic to Apex help? 

 

I’d appreciate any practical suggestions or best practices for designing scalable Salesforce Flows. 

 

#Salesforce Platform  #*saleforce Platform Basic* - Understand The Salesforce Architecture  #Flows  #Slack Developers  #Automation

4 respuestas
  1. Ayer, 13:30

    The first thing to check is whether the Flow is querying or updating records inside a loop. That can quickly become a problem as record volumes grow. 

     

    A few things that usually help: 

     

    • Move Get Records and Update Records operations outside loops wherever possible.
    • Use record collections to process multiple records together instead of updating them one at a time.
    • Filter queries carefully and retrieve only the fields and records you need.
    • If the logic involves complex processing or large data volumes, consider Apex or Batch Apex. Salesforce Flow isn’t always the best fit for every workload.

    One other thing to consider: if a significant part of the Flow handles lead-to-account matching or lead assignment, you may be able to move that responsibility to a dedicated tool rather than maintaining all the logic in Flow. LeadAngel, for example, handles lead-to-account matching, deduplication, and lead routing alongside Salesforce. That won't fix inefficient Flow queries directly, but it may help simplify the routing and matching logic your team needs to maintain. 

     

    I’d start by checking the Flow’s debug details and identifying which queries or updates are consuming the most resources before deciding whether to refactor it or move part of the processing to Apex. 

0/9000

Has anyone implemented an automated approach for tracking Salesforce release updates? These updates can appear and disappear over time, making them difficult to monitor consistently. As an administrator, I currently rely on a recurring task to review them weekly or monthly, but I am looking for a more reliable and scalable way to track, manage, and act on release updates affecting our org. 

 

#Salesforce Admin  #Salesforce Platform

1 respuesta
  1. 9 oct, 08:55

    You can automate most of this. Release updates are exposed in the Tooling API as the ReleaseUpdate object (API 50.0 and later), so they can be queried like any other data. 

     

    A setup that works well: 

    • A small scheduled job (a scheduled Apex class calling the Tooling API, or an external script or CI job) queries ReleaseUpdate once a week. 

    • Store each result in a custom object keyed on the update's name, with its status and due date. New rows mean new updates. Rows that disappear or change status are the ones that "come and go". 

    • Add a record-triggered flow on that object to email the admin team or create a Task when a new update appears or the due date is within 30 days. 

     

    Keep the manual review for the actual decision, testing it in a sandbox before enforcing. The automation just makes sure nothing slips past.

0/9000

How do I login to my developer org as I am not able to reset my password.    https://curious-cloudy-199812-dev-ed.develop.my.salesforce.com/    My challenge question does not work as I have forgotten it?  How do I contact my salesforce admin? I am not able to raise a support case as can't login to my account. Please help.     

3 respuestas
  1. 18 jul, 11:24

    @Amar Rawal

    If this is your own Developer Edition org, there isn't a separate Salesforce admin you can contact—the org owner (you) is the administrator.

    Unfortunately, if you can't reset your password because you don't remember the challenge/security question, there is no self-service way to bypass it.

    Here are your options:

    • First, try the Forgot Your Password? link on the login page and see if you can reset it using your registered email.
    • If the reset process requires the security question and you can't answer it, you'll need to contact Salesforce Support. Since you can't log in to create a case, use the Salesforce Help site and choose the "Can't log in" or login/access support option, or use the contact options available there.
    • If Salesforce Support can't verify ownership of the Developer Edition org, they may not be able to recover access. In that case, you may need to create a new Developer Edition org and reconnect it to your Trailhead account.
0/9000

Hi All, 

We are not able to create support case/ ticket in salesforce. We keep getting the provided screenshot. Any idea what can be issue.  

3 respuestas
  1. 29 sept, 07:33

    Please check the following:

    • Verify that the user has the required Case object permissions (Create, Read, Edit).
    • Check the user's Profile/Permission Set and Case record type access.
    • Make sure the Case Status, Origin, and required fields have valid values.
    • Check whether any Validation Rule, Flow, or Apex Trigger is preventing Case creation.
    • Review the Debug Logs for the user and try creating the Case again to identify the exact error.
0/9000

Hello Everyone, 

I am looking for a

voucher for the Salesforce Platform Developer I (PD1) certification. If anyone has a free or discounted voucher available, I would really appreciate it if you could kindly share it with me.

Email: vijaykokate38@gmail.com

#Free Vouchers #Discount Voucher #Salesforce Developer #Salesforce Platform  #Trailhead Challenges #Voucher Coupon    #Discount Vouchers #Voucher Code #Trailhead Challenges #Trailhead

0/9000

API: lightning/modal (LightningModal)

- Property: disableClose

- Expected: close button should be suppressed

- Actual: Modal still closes despite disableClose = true

- Condition: LWS enabled (Locker not in effect)

- Reproducible: 100% / Intermittent

- API Version: xx.x

- Org Type: Sandbox / Production / Scratch Org

- Workaround attempted: [none / custom CSS / manual event interception]

 

 

#Lightning Web Components  #Salesforce Platform

1 respuesta
  1. 10 ago, 07:10

    Hello @Michael Huang

    • Confirm LWS state properly, since stale caching can make behavior look like it's tied to LWS when it's just browser cache — refresh + hard clear cache before trusting the repro. 
    • Check whether the "close" the user triggers is the built-in header icon/ESC, or a custom button/action — if custom, that's expected behavior, not a bug.
    • Check reactivity: if disableClose is set via mutating a property on an object rather than reassigning it, LWS's proxy membrane can silently swallow that mutation for cross-namespace objects — leading to disableClose never actually flipping to true from the modal's perspective even though your component "sees" it as true. That's a classic LWS mutation-alternatives issue and worth checking with the LWS Distortion Viewer.
    • Verify ESC-key handling isn't attached at document/window level in a way that crosses the LWS namespace boundary (also part of the mutation/proxy troubleshooting docs).
    • https://developer.salesforce.com/docs/platform/lightning-components-security/guide/lws-troubleshoot.html
0/9000

I sent Org Email verification to Salesforce users 2-3 months ago and the respondents were able to verify their email. However, I am following up with non-respondents this last week and none of them are able to complete the Org Email Address verification flow. I confirmed our Email Domain in SF and SF is successfully sending emails.     Typical Steps to recreate:

  1. User receives verification email.
  2. User clicks to verify and the sender's email address (mine) displays as the default for username. 
  3. The user overwrites my username, enters pw and submits, but the login screen refreshes to default my username.

The user is now caught in this cycle. Clearing browser cache or using Incognito has not helped.    Any ideas as to why this may be happening? I appreciate any trouble shooting thoughts.    Chuck    

1 respuesta
0/9000

This is very frustrating... ever since they took away the "Create Case" button on the Salesforce Help page, I've needed to use Agentforce to open cases for our org. 

 

Since yesterday morning (02-Jun) around 9:30 AM, I've been getting the following error after providing more details to Agentforce on what I want in the body of the case: 

 

"

We couldn't load the case form right now. Please try again or contact support if you need assistance. Agentforce is still available while this issue is being resolved.

" 

 

Calling in to speak to a human is no use, because... well... it just routes me to the "voice" version of Agentforce. 

 

This is fairly time sensitive.  Any ideas?  Is this a known issue actively being worked? 

3 respuestas
0/9000
7 comentarios
0/9000