Loading
Salesforce now sends email only from verified domains. Read More
Vlocity Contract Lifecycle Management
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
          Conditionalizing a Section Using Entity Filters

          Conditionalizing a Section Using Entity Filters

          You can include a Vlocity Web Template section in a contract only if certain criteria are met using entity filters. The entity filter operates on the Contract Line Item object.

          You can use entity filters to create conditional contract document sections. For example, you can show a section only if the entity filter conditions match, such as showing a clause only for customers who are in California. You can use only one entity filter per contract document section.

          Advanced conditions use entity filters to specify the conditions in which a section should appear in a contract document. The entity filter operates on the Contract Line Item object. You can use any field in the Contract Line Item object or its parent object to build a condition. If the condition is true, then the section appears in the contract document. If the condition is false, then the section does not appear in the contract document.

          For example, you can display an embedded template section if the product family contains “Wireless” and the Contract Total Price > 50000 and Tariff Flag = False.

          To conditionalize a section using entity filters:

          1. In the Document Template Designer, click Use Advanced Entity Filters.
            Use Advanced Entity Filters is a blue link at the top right of screen.
          2. To use a previously defined entity filter, from the Select Existing Entity Filter list, select the entity filter to use.
            Enter a filter name to create a new entity filter on the left of the screen and a blue button in center to create filter. Select existing filter on right side of screen.
          3. To create a new entity filter, enter the Entity Filter Name.
          4. Click Create Filter.
            Create filter screen . Enter filter name on left, Entity filter formula on right. Red button to remove entity filter. Bottom blue buttons are Add, Save and Delete from left to right.
          5. Click Add.
          6. From the Type picklist, select the appropriate value.
            • Use Attribute when creating a condition on a JSON attribute.

            • Use Field when creating a condition on a field.

            • Use Filter when creating a condition on another internal filter.

          7. In the Field/Attribute/Related Object field, click Select.

            The Field or Attribute Selection dialog box opens. The option you select in the first column may expose more columns. For example, in this procedure, selecting the Billing Account <vlocity_cmt_BillingAccountId__c> field exposes another column from which you can select Billing State/Province<BillingState>.

            Field Selection screen. Left column is field names. Depending on choice in left column, right column may populate. Right column expands to more specific names related to left column. Blue save button on bottom right, followed by yellow cancel button.
          8. Select the appropriate options and click Save.
          9. From the Operator picklist, select the appropriate condition operator. In this example, select = (equal sign) for the state.
            Entity formula screen. One formula partially entered. Columns are Index, Type, Field Type, Field/Attribute/Related Object and then Select Operator. Picture shows available operators consisting of symbols and then words such as contains all and of type.
          10. In Value , enter the appropriate value.
            Note
            Note

            The delimiter is a semi-colon (;). Ensure there is no space between the “;” and the next value. The values must exactly match the attribute values as they’re defined on the product.

          11. Repeat steps 5 through 10 to define all of the conditions.
          12. Click Save.
          13. Click Edit Section, located in the upper right corner of the window.
            Entity filters screen. Entity Filters on which this section is conditionally based: and underneath that the ContractLineItem custom field equals RMCS Agreement - Charges is highlighted in red.
           
          Loading
          Salesforce Help | Article