Loading
Salesforce now sends email only from verified domains. Read More
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
          Creating an Auto Number Field and Configuring a Workflow Rule (Managed Package)

          Creating an Auto Number Field and Configuring a Workflow Rule (Managed Package)

          For the managed package runtime, create an Auto Number field and Configure a Workflow Rule to populate the field.

          Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

          1. From Setup, click Create, and then click Objects, and then click Application.
          2. Scroll down to the Custom Fields & Relationships section and click New.
          3. Select Auto Number and click Next.
          4. In the Field Label field, enter the name of the field.
          5. In the Display Format field, enter the new display format. Click What Is This? for more information on display formats.
          6. Enter a starting number and click Next.
          7. Set the field-level security by setting the field to Visible for profiles that should see the field.
          8. Click Next.
          9. Click Save.
          10. Return to Setup and click Create, and then click Workflow & Approvals, and then click Workflow Rules.
          11. Click New Rule.
          12. Select Application and click Next.
          13. In the Rule Name field, enter a name.
          14. In the Rule Criteria section, enter NS_ApplicationReferenceNumber__c = '', where NS is the Vlocity namespace in your org.
          15. Click Save & Next.
          16. On the following page, click Add Workflow Action and then click New Field Update.
          17. In the Name field, enter a name for the update.
          18. In the Field to Update field , select Application Reference Number.
          19. Click Re-evaluate Workflow Rules after Field Change.
          20. Click Use a formula to set the new value.
          21. Click Show Formula Editor.
          22. Click Insert Field and select the Auto Number field you created.
          23. Click Save.
          24. Click Done.
          25. Click Activate.
           
          Loading
          Salesforce Help | Article