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
0
votes
2answers
35 views

How to iterate on more than 2500 records in a DE with SSJS?

I'm facing an issue about a server side Javascript code that I put in place to deal with data management of a column. I have one data extension which contains 3 columns : ID_global, Tech_contact_id, ...
0
votes
1answer
19 views

Record size with a picklist

I have a custom object My_Object. I have now created another object Shadow which has a single field My_Object__c which is a Lookup to My_Object. When I create a Shadow, each record is a whopping 2 KB. ...
0
votes
0answers
15 views

How are api limits calculated for data export using data loader tool?

I want to export a million records into csvs using data loader, but as precautionary step I would like to know how the api limits would be calculated to export these million records?
0
votes
1answer
33 views

Daily Email Limits For Customer Emails

we currently send 2,500 emails to our customers (they all have accounts). These emails include invoices, appointments etc. These are operational emails on a daily basis. We are ramping up these emails ...
2
votes
1answer
49 views

Is there a limit to how many concurrent or total retrievals you can make with Platform Cache?

The features documentation mentions that the Platform Cache API is what allows you to store and retrieve data that's tied to a Salesforce session or shared across your org. Seeing "API" ...
0
votes
0answers
97 views

TR01_APP caused an unexpected exception, contact your administrator: TR01_APP: System.LimitException: Apex CPU time limit exceeded

We have trigger named TR01_APP which fires when we update the record. Here we update one record from salesforce UI to update a new User by replacing old User and found the below error Message. "...
0
votes
0answers
27 views

REST API BULK 2.0 JOB LIMIT

Regarding Bulk 2.0 API, It was mentioned in the Salesforce doc "https://developer.salesforce.com/docs/atlas.en-us.api_bulk_v2.meta/api_bulk_v2/introduction_bulk_api_2.htm" that the batch ...
0
votes
2answers
24 views

How many Email Alerts and Task can be created on an Object?

How many Email Alerts and Tasks can be created on an Object? Is there any documentation that gives details about the limits of creating Metadata Components in salesforce? Thanks
0
votes
0answers
33 views

Queueable class Too many SOQL queries: 201

I need to create a HTTPPost method to generate a report so when I did it at first, I had exceeded the number of queries limit so I implemented a queuable class to solve the issue as I have read in the ...
0
votes
0answers
14 views

Archive all Likes on Comments in Salesforce Chatter-Connect API’s hourly request limit

I need your help! I am working on a batch class to archive Likes on Comments from FeedLike to ArchivedFeedLike__c custom object. The batch job failed with below error: You have reached the Connect ...
1
vote
0answers
40 views

SFDX problem: ERROR running force:limits:api:display: limits resource is not enabled

Whilst there have been previous queries along these lines (including this one) the answers don't appear to be valid as of the Spring '20 Lightning Platform. I am trying to allow the developers using ...
2
votes
1answer
107 views

What's the maximum number of Users that single Salesforce Org can handle?

Is there any official information to which I can refer? I found some posts on various blogs and forums but any of these were accredited by Salesforce. I'd like to know what is the maximum number of ...
0
votes
1answer
68 views

Apex managed sharing limits?

I've implemented a User Managed Sharing Using Apex and need to know are there any limits for Apex User Managed Sharing for standard or for custom objects?
1
vote
0answers
151 views

Checking the limit of High-Volume Platform Events

We use platform events with Comet-D subscriber to synchronize two systems. Sometimes we reach daily limit of 50.000 published events (1.500.000/30 days) and sync process stops. At that point, we can't ...
1
vote
0answers
20 views

Does pre-flight CORS (OPTIONS method) count against the Developer Limits?

Does anybody know if OPTIONS method counts against the limits? I have to make REST queries from JS (browser) CORS environment which does extra Salesforce OPTIONS query. https://developer.salesforce....
0
votes
1answer
248 views

Salesforce API login limit issue [duplicate]

Our org is hitting total API limit per 24 hour. After reviewing the login event report, we found one of the external application is trying to access salesforce using username , password + security ...
8
votes
1answer
230 views

Maximum number of fields in a custom object, considering managed packages?

I am under the impression that a custom SObject can have no more than 500 (or 800) fields in total across all namespaces. From the Salesforce Features and Edition Allocations documentation there is ...
1
vote
0answers
31 views

Need more than 50 Sharing Rules - now what?

The Requirement: Our organisation works in ~30 countries and has 6 groupings of workers ("Core Competencies") within each country. We have a number of Objects with OWD = Private and we need to ...
0
votes
0answers
14 views

Cache storing objects greater than 100 KB

we use the salesforce org cache in one of our flows and we are getting Cache.ItemSizeLimitExceededException. I queried the cache and found that although the limit specified according to this doc is ...
2
votes
1answer
49 views

Change picklist field with another picklist field in a formula throws 'Compiled formula is too big to execute'

I have a simple formula that is referenced in other formula. When I tries to change a pickist field with another picklist field I can't save with the following message: Formula(s) that reference ...
0
votes
1answer
81 views

Salesforce chatter REST api rate limits

I am new to the Salesforce platform. I want to create custom branding of chatter for our organization. I looked into the limits of chatter api and found out that, we are allowed to make one request ...
1
vote
2answers
142 views

Hitting html body limit of 32000 characters with only one Email

Good Morning, Like the title says, I do not understand why I'm hitting the charathicter Limit, I used a character counter online, copy and pasted my Email and it only returned ~1400 characters. The ...
12
votes
0answers
201 views

Made 3500 SOQL Queries in one context. LIMITS HACK?

Steps to reproduce: Create Visualforce Email Template Create Visualforce component and add it into the email template Create Apex Controller for the component from pt.2 Do some SOQL queries there, ...
0
votes
0answers
50 views

Professional Edition Record Type Limitation

AS per Salesforce documentation (https://c1.sfdcstatic.com/content/dam/web/en_us/www/documents/pricing/DS_SalesCloud_EdCompare.pdf), professional editions of Salesforce have limitation of 3 record ...
0
votes
1answer
35 views

Building Salesforce Applications using the Salesforce API

I am creating a salesforce deduping application using python. The issue I am running into is that deduping applications literally take hours to run through large databases. How do others execute ...
1
vote
2answers
79 views

Can we purchase addon to increase limits on SingleEmail Apex limits?

The number of emails(using Messaging.SingleEmailMessage) we can send using Apex per day per org is 5000. There is a workaround to send emails using workflow but it won't solve our need as it won't ...
0
votes
1answer
38 views

API Request Limits

I have read the article: https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_api.htm Can someone, ...
2
votes
2answers
43 views

Heap Space Question

I have a system.debug() that outputs the result of division of the currently used heap space by an integer. It always shows 0. What could be the root cause of this?
1
vote
1answer
54 views

Can using the BULK API to perform SOQL queries save on total number of queries?

This is a pretty hypothetical question. So I apologize if this isn't sufficient information. Let's say I want to query for about 50000 accounts. And I have a very simple select statement that tries ...
0
votes
0answers
19 views

REST Endpoint vs sobjects Endpoint

I want to get my understanding right on API Limits. Currently to update an object from an external application we are hitting the below endpoint. /services/data/v44.0/sobjects/CustomObject__c/...
2
votes
2answers
48 views

Is there any limitation on number of custom tabs included in managed package?

Is there any limitation on number of custom tabs included in managed package? I know there is one for end users in subscriber orgs of how many custom tabs they can create, but I wonder if there is ...
2
votes
1answer
117 views

How does Salesforce audit the 10 custom objects limit for community licenses?

To be clear, I do understand that this is a CONTRACTUAL limitation and not a TECHNICAL limitation, but in the event that Salesforce does want to take a peek at our org, we want to make sure we're not ...
3
votes
2answers
273 views

How to use Limits.getCallouts() in a test class for a callout in a future method

After a bunch of research, it appears this is not possible, but I'm hoping someone here has found a way. I am using a before update trigger on Opp to call a class which contains a future method with ...
0
votes
0answers
46 views

API Usage Notifications - How to subscribe not via UI, e.g. using API, ant deployment etc

When spinning up new sandbox from production we need to subscribe our admin user to receive 'API Usage Notifications'. So in order not to do it manually every time, we are looking for a way of how to ...
4
votes
2answers
1k views

How can I check that parent has more than 1 child?

Now I'm trying to use this to check it: List<Tool__c> tools = [SELECT Id FROM Tool__c WHERE Date__c >= 2019-09-11T00:00:00.000Z]; for(Tool__c t : tools){ //And I'll get here 101 limits ...
0
votes
1answer
82 views

Calculating getDmlStatements

I am wondering how I can calculate DMLStatements. The test below adds unexpectly 3 instead of 1 -> after insert. Why? System.debug( Limits.getDmlStatements( ) );//0 Account ac = new Account( Name = '...
0
votes
1answer
277 views

Reaching Connect API's hourly request limit for this user and application?

I`ve got this type of error during the work in Lightning Community: You have reached the Connect API's hourly request limit for this user and application. Please try again later. My API Requests ...
0
votes
1answer
251 views

EXCEPTION_THROWN|[22]|System.CalloutException: Exceeded maximum time allotted for callout (120000 ms)

global class UpdateLeadInfo implements Database.Batchable,Database.AllowsCallouts { global Database.QueryLocator start(Database.BatchableContext BC) { String query = 'SELECT Id, ...
0
votes
0answers
88 views

SOQL For loop doesn't run in 200 size batch

Executing this block runs the first batch with a size of 200. But, the next batch returns the rest of the records. Integer i = 1; for(Account acc : [SELECT Id FROM Account]){ system.debug('rows ...
0
votes
1answer
52 views

Want to process over one millions records synchronously with aggregate functions

I want to process over one million records synchronously in apex controller and want to show records SUM, COUNT, MAX, AVG etc on visualforce page as per the requirement. e.g. suppose a custom object ...
5
votes
1answer
427 views

How is stack depth calculated?

We currently have a limit of Maximum Stack Depth of 1000. I assuming that we could call a method, that calls another method, and then another one 1000 times, so 999 "nested" methods should be fine. ...
1
vote
1answer
48 views

Trigger for loop and SOQL limits

I have a trigger. It inserts imported Gears with correct fields' values. One of valu I took from Detail__c - related to MoreInfo__c object. And Tool__c is related to MoreInfo__c too. Each MoreInfo__c ...
-1
votes
1answer
91 views

How to avoid limits in Trigger's SOQL?

I have a trigger. And if it's an import of many records I get an error becouse SOQL Limit is 101 records: trigger GearCreationTrigger on Tool__c (after insert) { List<Gear__c> toInsert = ...
2
votes
1answer
317 views

Best practice for CI - Create and Destroy Scratch Orgs?

I am very confused on a concept with SFDX, i have been seeing many SFDC videos and presentations like this SFDX Presentation where salesforce has been telling the best practise for CI/CD is to create ...
1
vote
1answer
548 views

Limits on Apex invocations from LWC

Is there a limit on how many times LWC can call an @AuraEnabled action and Apex controller? (Provided we do not get into the long-running Apex issues).
2
votes
2answers
103 views

Workflow time trigger Limitation

I got the next message from SF : Hourly limit exceeded for processing workflow time triggers. I read that the limitation for Enterprise Org is 1000 per hour. ( https://help.salesforce.com/...
0
votes
1answer
42 views

About “email alerts” wording in Salesforce Help Doc

I am a bit confused about this wording on the help doc on "Daily Allocations for Email Alerts" (https://help.salesforce.com/articleView?id=workflow_limits_email.htm&type=5): Each org can send ...
0
votes
1answer
133 views

After adding 500 ContentNote objects to one Account by one user, nobody can add any more ContentNote records

We are developing a ContentNote integration piece. As a System Administrator of a Partner Developer org (note: NOT the usual Dev org, although i don't know if this matters, the PD has higher limits ...
0
votes
0answers
16 views

View the history of SingleEmailMessage usage

I know how to see how many SingleEmailMessages we've sent in the current GMT day, but I need to know if it's possible to see a history of emails further back than that. For example, for the past week, ...
8
votes
1answer
205 views

Do SFDX commands count toward limits?

I am looking into utilizing some SFDX commands to possibly use for some data integrations and/or one-time loads. Do these commands count toward the same API call limits as API calls and Bulk API ...

1
2 3 4 5
8