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
          Configure Custom Formulas for License Validations

          Configure Custom Formulas for License Validations

          Prepare your org for License Management by configuring custom validation rules for evaluating the status of HCP licenses.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package.
          User Permissions Needed
          To create custom formulas: Life Sciences Commercial Admin permission set

          Create a custom formula field by using a checkbox as the formula return type. This checkbox serves as an automated check to indicate whether the license validation is successful or not.

          1. From the object management settings for Business License, go to Fields & Relationships.
          2. Select New.
          3. In Data Type, select Formula, and then click Next.
          4. Add a field label.
            The field name is automatically populated.
          5. In Formula Return Type, select Checkbox and click Next.
          6. Add a formula for the validation evaluation.
            For example, to check if a license is active, select Advanced Formula and then insert isActive.
          7. To make sure your formula is valid, select Check Syntax, and then click Next.
          8. Select the profiles the formula is visible to, and click Next.
            The page layout is automatically selected. Keep it as is.
          9. Save your changes.
           
          Loading
          Salesforce Help | Article