You are here:
Context Service Limits
When you create and use context definitions within Context Service, adhere to the Salesforce org limits.
Required Editions
| Available in: Lightning Experience |
| Available in: Developer, Enterprise, Professional, and Unlimited editions for Industries clouds where Context Service is enabled |
When you create a context definition, stay within these limits. Contact your Salesforce representative if you want to increase any of the Context Service definition limits.
| Limit | DEFAULT VALUE | MAXIMUM VALUE |
|---|---|---|
| Number of nodes per context definition | 80 | |
| Number of attributes per context definition | 1500 | 1600 |
| Number of attributes per node | 400 | 500 |
| Number of levels of hierarchy in a context definition structure | 5 | 5 |
When you use context instances, stay within these limits.
| Limit | DEFAULT VALUE | MAXIMUM VALUE | NOTES |
|---|---|---|---|
| Number of active context instances that an application can have within the specified Time To Live duration | 20,000 | ||
| Number of records in a context instance | 10,000 | 20,000 | |
| Time To Live configuration in a context definition at design time | 10 minutes | 45 minutes |
Did this article solve your issue?
Let us know so we can improve!

