Questions tagged [limits]
Salesforce imposes maximum limits on selected features. The stated limits for the features may vary based on the Edition.
468
questions
0
votes
0
answers
35
views
How SOSL filtering works?
I thought Salesforce SOSL engine searches for records in the following order:
Search full database by the keywords
Apply additional filters from WHERE clause
Apply other filters (sharing settings, ...
0
votes
0
answers
28
views
Salesforce limitation for getting records using an expression
We have B2B commerce implementation. On an LWR site in an experience builder, salesforce has given an option to get cart data using an expression. What we have done is declared an api property in LWC ...
1
vote
1
answer
75
views
How to find out the web-to-lead limit?
As per the documentation, there is a 500 per 24 hour rolling limit of how many leads can be created via the web-to-lead functionality.
Although the default lead creator is notified via email if this ...
2
votes
1
answer
188
views
How is HEAP_ALLOCATE related to actual heap size
Finest level log of a heap size limit exception log contains HEAP_ALLOCATE lines. Aggregating HEAP_ALLOCATE Byte values yields 2371721 bytes (2.37 MB).
Right after that, the log is showing a ...
0
votes
0
answers
87
views
LWC Embedded in Aura Component to dispatch Events on Close Browser tab or Window
Hi I've been working with platform events in LWC, and I need to monitor user activity on an specific object record page.
It works well but I had to do kind of a ping system between the LWC insances on ...
0
votes
0
answers
26
views
Is there any way to perform my required logic other than with recursion applied on a tree data structure?
This is the most complex logic I've ever worked with in Salesforce.
I'll try to describe my requirement in simple terms.
I have a custom object which has a date field(StartDate__c), and a number ID ...
0
votes
1
answer
259
views
Limit string character limit to 250
I want to check the size of a string. If the size is greater than 255 characters, then reduce it to 252 and add three dots towards the end.
For example.
String1 = 'Suppose this is 255 characters';
...
0
votes
1
answer
233
views
Flow Error ID: 64105330-17260 (738334238) organization has exceeded the maximum limit for this feature
I have a record-triggered flow (created or updated). The flow works fine when triggered by a single record, but gives the following error while multiple records are created/updated.
Salesforce Output ...
0
votes
2
answers
73
views
Formula field syntax exceeds character length limit
I have the following formula field that uses nested if statements:
IF
(
AND
(
NOT(ISBLANK(Last_SMS_Sent__c)),
NOT(ISBLANK(MobilePhone)),
NOT(ISBLANK(...
0
votes
1
answer
334
views
Aura Decimal Input value to match number field limit 16,2
I am trying to limit my input number field to exactly match the field values which are 16 digits to 2 decimal digits. Also I want to prevent user from putting something different into the field like a ...
1
vote
0
answers
210
views
Scheduled flow kicks off record triggered flow. Failure:
I have a scheduled flow that runs daily and checks a box on a filtered set of cases. There are about 200 cases it should find and execute on given the filter conditions. Then I have a record triggered ...
-1
votes
1
answer
749
views
Salesforce limits on sending email in one hour
One of the user send an important email from an opportunity record to the team members. We can see the email message record in the related list but non of the team members received the email.
I want ...
1
vote
2
answers
258
views
Nearing limit of 500 fields
I work at a mid-size credit union where we use the Case object to handle a bunch of different scenarios (members calling in for support, inter-department requests, etc...). We have created 29 ...
-1
votes
1
answer
794
views
Avoid Hitting the Limits when Updating records with a Scheduled Flow
I have to change the status of some tasks after 30 days. I have already created and tested the flow in my sandbox, the problem I'm having is that in Prod we usually have around 5000 records to expire. ...
-1
votes
1
answer
1k
views
SOQL limitation in Salesforce standard REST API
I would like to know the row limit for SOQL using standard REST API. I want to use the GET method and retrieve all the records (most probably with out any filter). So the 50k record limit applies or ...
0
votes
2
answers
6k
views
How do I check the limit of creating new dashboards(runs as logged in users) in my SF org?
So my org has paid for increased limits and I need to find out the limits for creating new dashboard
0
votes
0
answers
79
views
API outbound callout: Confused limits
Scenario:
Making Apex outbound calls to GET /ui-api/object-info/{objectApiName}/picklist-values/{recordTypeId}/{fieldApiName} via a Named credential.
String endpoint = 'callout:...
0
votes
0
answers
46
views
LWC Data Volume Architecture
Please see the following scenario.
The client wants to implement a custom LWC component - Activity Timeline that would fetch data via REST callout/callouts to API Gateway.
Going into detail - there ...
0
votes
1
answer
58
views
Why is the concurrent API limit not present in the Limits data end point?
Looking at https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_limits.htm, I am not able to associate anything with the Concurrent API requests.
Why is this limit not ...
2
votes
0
answers
180
views
OrgLimits.getMap() Causes System.UnexpectedException when Packaging
I am building a beta package and have added a class with this line of code in it (referred to as line 19 in the error below:
Map<String, System.OrgLimit> limitsMap = OrgLimits.getMap();
When ...
-1
votes
1
answer
32
views
Establish Salesforce API should not be sent more than N requests per second
I want to establish that my salesforce API don't sent more than N request per second, someone have idea on how to establish this limit?
0
votes
1
answer
2k
views
Salesforce Emails Limits
I am using both Apex and Flow( each for different scenario) to send acknowledgement emails to customers on case creation. From Apex I am using Messaging.SingleEmailMessage to send emails. From flow I ...
1
vote
1
answer
636
views
API Limit consumption from Apex into the org
Have any of you figured out the usage of API Limits (per 24-hour interval) when using Apex back into the org?
Let's say something that uses System.URL.getOrgDomainUrl().toExternalForm() as domain to ...
1
vote
1
answer
535
views
SOQL aggregate query issue with number fields
I was trying built aggregate query on number field, Found an strange behaviour.
Object Considered: Campaign
I have used Visual Code for execute SOQL for my analysis.
Use Case 1:
NumberOfContacts ->...
2
votes
1
answer
106
views
What is the limit of metadata components in 1GMP or 2GMP?
What is the limit of metadata components in 1GMP or 2GMP?
Yesterday I talked to my former colleague about the limitation of number of metadata components available for a single package and that ...
0
votes
1
answer
128
views
How to avoid limit SOQL When tried to update duplicate value
i have a code to check duplicate value, and it will update only one data and remove the others with the same mobilephone and account.
example, i have 100 data, with 50 data (Account A and Mobile A) ...
1
vote
1
answer
2k
views
Permission Set Group Recalculation Failed 2000+ Fields
We are encountering Permission Set Groups that are stuck in the Failed state, I was able to find: https://trailblazer.salesforce.com/issues_view?id=a1p3A0000003eq1QAA, and after removing all of the ...
0
votes
2
answers
463
views
Scratch Org: How to increase API Usage limit (i.e. allowed number of API requests per 24 hours)
Is there any way to increase API Usage limit in scratch org? I cannot find any setting to do so via json config file (we can increase number of custom objects, apex code size limit etc., but nothing ...
0
votes
1
answer
700
views
How to monitor custom metadata usage
We have started to get "The custom metadata organization limit was reached" errors when deploying changes that include new custom metadata records.
I understand what the limit is, and how it'...
2
votes
0
answers
1k
views
My LWC (with Emp API implemented) stops receiving Platform Events after some time (6-10 minutes) from the time we opened the page Dev Org
-------------- Info ------------
I have one LWC, where I subscribe to Platform Events using lightning/empApi .
Here the JS code from the LWC :
import { LightningElement } from 'lwc';
import { ...
2
votes
1
answer
549
views
Queueable HttpCallout.TooManyCalloutsException: Too many callouts requested vs SFDC Limit: 0
I have a Queueable class that performs a single callout. When it executes, it generates this error:
HttpCallout.TooManyCalloutsException: Too many callouts requested vs SFDC Limit: 0
public class ...
0
votes
1
answer
723
views
Platform event Fired from two objects
We are planning to build a platform event, which should publish changes from two objects.
Consider there is an insert/update of records in Account object or Customer__c object.
We need to insert/...
0
votes
1
answer
1k
views
Get character limit for long text area using Apex
I am trying to get the character limit for a long text area. So for example I have a custom field called --> My_Text_area__c which has the char limit set as 5000.
So how can I get this value in my ...
0
votes
1
answer
756
views
How to get the Apex Character Limit via Api/SOQL
basically trying to grab this metric, without having to go into salesforce?
Had a look at /services/data/vxx.x/limits
Didnt see it here.
Also looked at tooling api and whats available via
/services/...
1
vote
0
answers
166
views
Custom Metadata Type Usage Exceed but Custom Metadata Types is 0
Our org needs to install a package to our salesforce instance but we got an error message stating that our custom metadata type usage has been exceeded. When we look on the backend, custom metadata ...
3
votes
0
answers
2k
views
How to send Case Emails to Users via Apex
Note: this question has been significantly edited after I discovered a new, more immediate issue with this scenario.
My use case:
A Case may be created via Internal User, Community User, or Email-to-...
-2
votes
2
answers
1k
views
How to remove the limits for sending emails in Salesforce
My question is: How to remove the limits from a Salesforce org to send maximum number of emails in one day?
When I'm trying to send emails in Salesforce from Contacts objects an error msg is popping ...
0
votes
1
answer
656
views
Batch job does not process all the records from Custom Metadata
We have a batch job that queries all the records from Custom metadata(CMDT) and processes them in executebatch() one by one and sends emails .
return IRR_SEL_AutomatedMessagesSelector.newInstance()....
2
votes
0
answers
22
views
What contributes to DailyDurableStreamingApiEvents Limit [duplicate]
We appear to be using a high % of the limit of DailyDurableStreamingApiEvents.
What is this Salesforce limit and what sort of things contribute towards it?
(Do normal Platform Event triggers ...
2
votes
1
answer
1k
views
How many flow interviews can I run per transaction?
Is there a limit on the number of autolaunched flows that can be invoked by a process builder or apex trigger/batch in a single transaction ?
As per this document , enterprise orgs are entitled to 10,...
3
votes
1
answer
424
views
Advice needed on packaging dynamic dashboards
Our build just broke with this error when we added a 4th dynamic dashboard:
You reached the limit for dashboards run as the logged-in user
and articles like this one Increase 'Maximum Number of ...
2
votes
1
answer
2k
views
Limits number of automation in platform
1800 automations are executed per day on my SFMC.
That's just over 630,000 automations per year.
Salesforce told me that I was exceeding the annual cap on the number of automations on my contract.
I ...
4
votes
1
answer
1k
views
Do Contacts in the Auto-Suppression lists or Global Suppression List count towards Contact Limit?
Wondering if anyone knows if the contacts in Auto-Suppression lists count towards the Contact Limit.
1
vote
1
answer
7k
views
How many formula fields we can create per one custom object in Salesforce?
How many formula fields we can create per one custom object in Salesforce ?
I can not find any information about it here
Any help will be appreciated.
Thank you.
0
votes
1
answer
385
views
Are composite REST (or composite graph) subject to rate limits (in addition to the API request limits & allocations)?
In additions to details given in API Request Limits and Allocations & Composite Resources, are the composite REST (or composite graph) requests also subject to rate limits (i.e. per hour & per ...
8
votes
1
answer
250
views
Query highest value of custom Field on Large Object
Existing Logic:
We have a trigger that gets the highest value of a custom Field "UIN__c" on various Objects and increments the value by 1 on each new Record. This Field functions as an ID ...
2
votes
1
answer
1k
views
Calculate Incoming Email Size
I am using an Email Handler for inbound emails and we are wanting to do some tracking on the size of incoming emails. We will eventually be putting some limits on max attachment sizes that we want to ...
4
votes
1
answer
5k
views
Is there a size limit for a text variable in a flow?
Is there an upper size limit for a text variable in a flow? We are told there's a 4000 character limit for input variables, but I want to know about ordinary variables that are not being used for ...
6
votes
2
answers
3k
views
Infinite queueable chaining, what is the drawback?
As mentioned here
Because no limit is enforced on the depth of chained jobs, you can
chain one job to another. You can repeat this process with each new
child job to link it to a new child job.
What ...
0
votes
1
answer
83
views
Which type of users has access to org limits?
I would like to know how to be sure which type of users has permissions to see org limits, and how to manage it if it's possible.