Loading
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set Up Omni Global Auto Numbers

          Set Up Omni Global Auto Numbers

          Use Omni Global Auto Number to create a custom numbering system that applies to specific information such as versions, years, and product codes.

          To access this feature, make sure you turn on the Omni Global Auto Number Omnistudio Setting and fulfill the prerequisites as described in Enable Autogenerated Numbers.

          To set up global auto numbers, perform these tasks. Note that all fields mentioned here are mandatory, except Prefix and Separator.

          1. From App Launcher, find and select Omni Global Auto Number.
          2. Click New.
          3. In the Name field, enter GlobalAutoNumber or a name of your choice.

            The value you enter here serves as the unique identifier for the GLOBALAUTONUMBER function in Data Mappers and Integration Procedures. Make sure that each auto number has its own distinct name.

          4. Enter an integer in the Increment field. This sets the increment value for Omnistudio’s auto-generated numbers. For example, if you enter 5, Omnistudio counts the numbers up by 5 each time it generates a new one.
          5. Enter a number in the Last Generated Number field to provide an initial starting number. When you use the GLOBALAUTONUMBER function, the numbers generated will be a continuation of the value entered here. The default value is 0. Every time the GLOBALAUTONUMBER function is executed, this field is updated with the latest value.
          6. Enter a digit or letter in the Left Pad field. If a number is shorter than the minimum length specified, Omnistudio pads the number with the digit or letter specified here. For instance, if you enter 0, and the minimum length is 5, the number 123 is saved as 00123.
          7. Enter a value for Minimum Length.
          8. To add a prefix, enter a value in the Prefix field.
          9. To add a separator character between the prefix and the number, enter a value in the Separator field. You can leave the field blank if you don’t need it.
          10. Save your global auto number.
            As an example, if you set the GlobalAutoNumber settings like this:
            • Name: GlobalAutoNumber

            • Increment: 1

            • LastGeneratedNumber: 27

            • LeftPad: 0

            • Minimum Length: 6

            • Prefix: OS

            • Separator: -

            The next number Omnistudio generates is OS-000028.

          You can use the GLOBALAUTONUMBER function in Data Mappers and Integration Procedures.

           
          Loading
          Salesforce Help | Article