Questions tagged [limits]

Salesforce imposes maximum limits on selected features. The stated limits for the features may vary based on the Edition.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
20 views

How to split CSV Blob file in Apex. Getting 'ERROR: String length exceeds maximum: 12000000' on converting Blob to String [duplicate]

We have a requirement where we are querying data from 'EventLogFile' object in salesforce in batch context. and storing some required information in one of the custom object. But for few scenarios ...
Shubham Athalye's user avatar
-1 votes
1 answer
47 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 ...
shwarma g's user avatar
1 vote
2 answers
108 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 ...
Ryan Brubaker's user avatar
-1 votes
1 answer
60 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. ...
Rocio's user avatar
  • 3
-1 votes
1 answer
148 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 ...
Raham's user avatar
  • 33
0 votes
2 answers
348 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
Vicky007's user avatar
0 votes
0 answers
38 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:...
Nagendra Singh's user avatar
0 votes
0 answers
29 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 ...
DevelBase2's user avatar
0 votes
1 answer
42 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 ...
Strong Like Bull's user avatar
2 votes
0 answers
134 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 ...
Dave C's user avatar
  • 427
-1 votes
1 answer
29 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?
Luis C's user avatar
  • 1
0 votes
0 answers
86 views

Managing heap size by splitting collections

I'm working with a Visualforce page that creates a record of a custom object (let's call it Notification), then triggers a batch class to create a large number of child records. The child records each ...
ALegendIM's user avatar
0 votes
0 answers
55 views

SOQL Query Not Finishing

I have a dynamic soql query that I'm hitting on the Contact object using database.query and it works for certain cases however there are some case where it does not end at all meaning I see in the ...
RandomDev123's user avatar
0 votes
1 answer
1k 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 ...
Abhinav Thakur's user avatar
1 vote
1 answer
421 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 ...
Jeferson Chaves's user avatar
1 vote
1 answer
298 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 ->...
NITHESH K's user avatar
  • 2,515
2 votes
1 answer
88 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 ...
Patlatus's user avatar
  • 15.8k
1 vote
1 answer
118 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) ...
Mustika Farma's user avatar
1 vote
1 answer
1k 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 ...
jordan.baucke's user avatar
0 votes
2 answers
246 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 ...
wesaw's user avatar
  • 2,980
0 votes
1 answer
290 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'...
Matthew Souther's user avatar
1 vote
0 answers
728 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 { ...
Vitalii Dehnerys's user avatar
2 votes
1 answer
320 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 ...
cropredy's user avatar
  • 69.1k
0 votes
1 answer
509 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/...
SFDC_Admin's user avatar
0 votes
1 answer
900 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 ...
Maverick's user avatar
0 votes
1 answer
432 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/...
Londoner_Tom's user avatar
1 vote
0 answers
96 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 ...
Yessica's user avatar
  • 11
3 votes
0 answers
1k 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-...
Jason Clark's user avatar
  • 11.6k
-2 votes
2 answers
706 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 ...
user112581's user avatar
0 votes
0 answers
419 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()....
Pseudodarwinist's user avatar
2 votes
0 answers
21 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 ...
Tom Linstead's user avatar
2 votes
1 answer
911 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,...
N_H1922's user avatar
  • 315
3 votes
1 answer
335 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 ...
Keith C's user avatar
  • 134k
2 votes
1 answer
577 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 ...
Golden Abagnale's user avatar
4 votes
1 answer
876 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.
Jackson Chen's user avatar
  • 4,657
1 vote
1 answer
5k 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.
Vitalii Dehnerys's user avatar
0 votes
1 answer
325 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 ...
arut's user avatar
  • 5,206
8 votes
1 answer
236 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 ...
César Antonio Villalta's user avatar
2 votes
1 answer
781 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 ...
SBB's user avatar
  • 173
4 votes
1 answer
3k 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 ...
Jagular's user avatar
  • 3,346
6 votes
2 answers
2k 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 ...
nSv23's user avatar
  • 524
0 votes
1 answer
59 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.
Diego Opazo's user avatar
2 votes
0 answers
395 views

Any way to count High Volume Platform Events published by Event type? What happens when exceeded?

I'm familiar with the Limits API value HourlyPublishedPlatformEvents for the total HV events published in the last 60 minutes, as well as the PlatformEventUsageMetric object for querying total events ...
Jason Clark's user avatar
  • 11.6k
1 vote
1 answer
347 views

Invocable Apex in Flows and Custom Metadata SOQL limits?

Say we have a record-triggered flow that calls invocable Apex. The Apex class uses SOQL to query custom metadata and return a value to the flow. Does the Apex custom metadata query count against the ...
David Cheng's user avatar
  • 6,958
0 votes
0 answers
377 views

Before-Save flow query limits

Since one of our main triggers has too many related processes, we are almost reaching the query limits. We have the idea to move some tasks executed in the before update context to a Before-save flow. ...
Camilo Andres Gamarra's user avatar
2 votes
1 answer
2k views

LWC's apex query returns more than 50k results, how to bypass this limitation?

Any idea for how can I bypass this 50k row limitation? Thanks for your help!
user256515's user avatar
0 votes
1 answer
2k views

JSON file size limit to be processed by APEX Class

not much experience with REST APIs or writing a code for it. I am working with our IT team and the plan is for them to write REST APIs on their end so that Salesforce can come in and request data (not ...
Art S's user avatar
  • 301
0 votes
0 answers
94 views

store list of up to 10000 records for lookup from apex code

for an automated pricing method in apex I would need to access a list with 10000 zip codes, with each zip code having a specific value assigned. What is the best approach to store and access? Do you ...
Julius Diedenhofen's user avatar
-2 votes
1 answer
694 views

Stop displaying "Maximum view state size limit (170KB) exceeded"

i have a VF page in which users can upload files. The issue i'm encountering is if the file is a certain size (Which is a relatively small size), the user is shown a screen that says " Maximum ...
Michael M's user avatar
1 vote
0 answers
55 views

Guestimating managed package protected custom setting usage in subscriber org

We are using a managed package that has a protected custom setting that stores some additional information per user. We have 6000 users roughly and our org has 9 user licenses so that means amount of ...
kratos's user avatar
  • 521

1
2 3 4 5
10