+ Start a Discussion
Lavanya Ponniah 3Lavanya Ponniah 3 

Can we skip autonumbers when creating records

Can we skip auto number when creating a records  on a record if it has specific picklist values? 

Suppose i have 5 picklist values...I need to generate autonumber for only some records which have 3 picklist values. For remaining 2 picklist values it should not generate autonumbers on it.

SonamSonam (Salesforce Developers) 
Don't think this would ne possible if you are using the out-of-box autonumbering field.

You can do this if you use a number field and update it using a after insert trigger on the object.