Print this page

Enabling Gapless Autonumbers for Apex Tests

Knowledge Article Number 000232492
Description Available in:  Contact Manager, Group, Professional, Enterprise, Performance, Unlimited and Developer Editions

This feature prevents the organization's standard autonumber values from being consumed when running Apex Tests.
Resolution To have Salesforce.com Support activate the Gapless Autonumbers for Apex Tests feature, please take the following steps:
1- Verify that the Organization where you want the feature to be enabled is on an edition where the feature is available.

2- Have a System Administrator to log a Case with Salesforce Support

3- Please mark as "Feature Activation" on the General Application Area

On the case description, please specify:

    Feature requested: Gapless Autonumbers for Apex Tests
    Organization ID where you want the feature to be enabled (Navigate to Setup > Company Profile > Company Information):
    I am the system admin in charge of this feature.
    Organization Edition:

4- Our Support Team will review the Case and action the request as needed.

Please Note: Once the feature is enabled, follow the below click-path to complete the activation.
Develop> Apex Test Execution> Options
select "Independent Auto-Number Sequence" and click OK


 




promote demote