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
1answer
26 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 ...
7
votes
0answers
55 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
1answer
26 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 ...
3
votes
1answer
125 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 ...
5
votes
2answers
578 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
1answer
38 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.
2
votes
0answers
45 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 ...
1
vote
1answer
57 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 ...
0
votes
0answers
48 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. ...
0
votes
0answers
15 views

Break recordset to batches to use in Flow loop

I know that Flow isn't best way to work on huge amount of data but for this moment i haven't a clear idea. There is need to use flow (without any Apex). We can have only 2000 records for Loop so ...
2
votes
1answer
173 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!
0
votes
1answer
198 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 ...
0
votes
0answers
37 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 ...
0
votes
0answers
21 views

Is there any api calls restrictions in Custom Activities?

I'm implementing a REST custom activity to resolve some functional requirements. I've already tried the integration with a microservice and everything seems fine. But, I haven't found any information ...
-2
votes
1answer
57 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 ...
1
vote
0answers
21 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 ...
0
votes
1answer
120 views

How are the Custom Objects Limits calculated?

We have an Unlimited Edition org and evaluating whether we can scale down to an Enterprise Edition. Comparing all the different limits, we came across the limit of Custom Objects. I have read the ...
1
vote
1answer
147 views

Reduce formula character limit

I have the following formula: OR ( AND ( Route_to_Legal__c = TRUE, OR ( INCLUDES(Agreement_Type__c, "Fulfillment/Supplier"), INCLUDES(...
1
vote
1answer
226 views

API Inbound and Callout limits SOAP vs REST

I am having trouble finding a clear answer or multiple sources to this question regarding calling the Salesforce API's (inbound) and making callouts from Salesforce. See page 40 in this doc In the ...
0
votes
1answer
126 views

Asynchronous Apex and Queue

I would like to confirm the following points with regard to Asynchronous Apex and particularly to these 3 in particular - Future Methods, Batch Apex and Queueable Apex. When an async request is made, ...
0
votes
0answers
26 views

ContentDocumentLink trigger and ContentVersion FirstPublishLocationId - Too many SOQL queries

I have created a Trigger on ContentDocumentLink (before insert) that is properly bulkified. If i create 200 CDLs via API or Apex, my trigger is fine. However, if i create 200 ContentVersion entries ...
0
votes
1answer
46 views

SFDX force:limits:api:display Shows Incorrect / Misleading Values

Today 2021-02-20, 14:30 local time, force:limits:api:display shows: Package2VersionCreates 6 6 Package2VersionCreatesWithoutValidation 500 500 At the same ...
2
votes
0answers
140 views

Send Change Data Capture events from Managed Package

I am wrapping my head around the question of how to leverage Change Data Capture events in a customer's Managed Package app. They want to define a handful (= 10-15) of the packaged Custom Objects to ...
0
votes
2answers
239 views

Sending more than 5,000 emails to customers

I have tried everything with regards to sending more than 5,000 to our customers each day. I have tried Apex, workflow/email alerts and cannot do this. In fact, there is NO way of doing this. Simply, ...
0
votes
1answer
18 views

Are there any limits on the number of blocks that can be used in a flow?

Are there any limits on the number of blocks that can be used in a flow? Thanks in advance
0
votes
1answer
157 views

Auto Chunk Batch with BulkAPI

I'm trying to use Bulk API v1 to upsert massive Data using JSON. When I try to run the job via the standard bulk API, the next error shown up : InvalidBatch : Exceeded number of records: 10002. ...
0
votes
1answer
15 views

Is it possible to use an unique identifiers, requesting Salesforce API?

We do Salesforce API requests in behalf of our clients. Our clients continue doing API requests independently from us. We're looking for a way that our API calls doesn't count against the concurrent ...
11
votes
1answer
163 views

Why do we have higher apex async executions on days we deploy to Production?

We call the following endpoint at the same time each day to get a count of our daily async executions to track our usage. /services/data/v50.0/limits The following response gives us the # of daily ...
2
votes
0answers
51 views

ContentDocumentLink SOQL doesn't return all rows

I have the same question as this one (but couldn't comment on it) To reproduce the issue: Map<Id, Contract> limitedContracts = new Map<Id, Contract>([ SELECT Id FROM Contract ...
0
votes
1answer
591 views

API File Download Maximum FIle Size

We need to download pdf documents from external server that supports REST and SOAP. What is the maximum file size that I can download via the GET call request? I see that maximum payload size of ...
0
votes
1answer
37 views

Testing REST API, Bulk API limits

I am working on a scenario where I export a set of records to Salesforce via bulk API 2.0, I need to handle the daily Salesforce limit exceeded scenarios gracefully.Mainly the REST and Bulk V2 API ...
0
votes
1answer
382 views

Single query for all records without duplicate in field

I am doubting this is possible in SOQL given the requirements and limitations of the language, but wanted to sanity check to make sure I am not overlooking any possible solutions before I throw in the ...
1
vote
0answers
116 views

Track notifications limit usage

We use two ways to trigger push notifications - APEX and flow/process builder. There are limits to the number of these push notifications (10 000 per hour). Is there a way to monitor the current usage ...
0
votes
1answer
48 views

Rendering PDF with response size greater than 15 MB

I need to generate PDF with a lot of data collected as user inputs saved in a custom object. I have created a dynamic VF page with renderAsPDF which generate the same on a button click. But there is ...
1
vote
1answer
44 views

Understand API limitations with web services for a day

I develop an Apex REST Web Service to update contacts from an external system. I would like to understand how many API calls the external system can do with the interface user (it will be all the time ...
1
vote
1answer
66 views

Apex Execution event log shows test methods and sub five second transactions being marked as long running

In the org I work in we've been having issues with the concurrent apex limit. For context, specifically this limit. Number of synchronous concurrent transactions for long-running transactions that ...
1
vote
1answer
149 views

What is the maximum number of skills that can be created for Skill-Based Routing?

I cannot find it anywhere in Salesforce Help Docs. The only information, when it comes to limitations, is regarding searching for already created skills (from Create Skills for Skill-Based Routing): ...
0
votes
1answer
248 views

Customer community license API limits

Our clients want to use our managed package Lightning aura component to view some records. That component has a button like PAY NOW or DOWNLOAD or CANCEL which involves an API call to external system. ...
0
votes
0answers
25 views

Maximum Number of Library Members

Is there a limit for the number of members a library can have? If so, what is the limit?
1
vote
1answer
42 views

Does the limit API return any status code if the daily API limits of organization have exceeded?

We want to make sure that if we have exceeded the daily API limits, we don't proceed further. So we are using the limit API for the same. Does it return any status code when the organization has ...
0
votes
1answer
47 views

How the Lead Assignment rules applicable

I am newbie in Salesforce and my company is switching our CRM to Salesforce. So currently we are learning and doing gap analysis. Previously we had 50+ active lead assignment rules each contains ...
0
votes
1answer
54 views

SfdcSqlException: ORA-00972: identifier is too long

I'm wokring on building custom hierarchy for accounts. I used this lib to build queries to get descendants. I have a field named AlternatParent__c (changed name, same length though). This is the field ...
1
vote
1answer
471 views

LWC Data value too large: Error: Unable to save any logic to the component

Got error when saving / deploying the code to the Org. The error message: Source: data value too large: import { LightningElement, track, api, wire } from 'lwc' import getAllApprovedQuotes from "...
1
vote
1answer
184 views

How to Optimize SOQL Query when I have 15 million Account records?

I have a use case where I am exposing a custom Rest service that would accept phone# as an argument and compare with the five phone# fields on Account and would return the single record matching ...
0
votes
2answers
538 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
27 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
1answer
101 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
68 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
109 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
2answers
33 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

1
2 3 4 5
9