Download PDF
Download page Making Clauses and Clause Bundles Conditional in a Template.
Making Clauses and Clause Bundles Conditional in a Template
This topic contains instructions for Conga CLM (Contracts for Salesforce) users.
You can use condition-based clauses and clause bundles in your template to make more customized and flexible agreement templates. The condition for the condition-based clauses and clause bundles can be simple or complex expressions that you can make using the expression builder. The conditions are evaluated at the time of agreement generation and the clause text is included in the generated document only if the associated condition resolves to True.
A condition created for a clause configuration is applicable for all the sub clauses related to the clause configuration. Similarly, a condition created for a clause bundle is applicable for all the clauses and sub clauses related to the clause bundle.
To add a condition to a clause and bundle
- Open Microsoft Word and log in to X-Author for Contracts Advanced for Conga CLM (Contracts for Salesforce).
- In the Templates pane, go to Work > Clauses.
- The Clauses pane lists all the clauses present in your template. Select a clause from the list and click the Settings icon (
) next to the clause name.
- Select a clause or clause bundle from the list and click the Settings icon (
) next to the clause name or clause bundle name.
- In the Properties pane, click Add Condition to open the template expression builder.
In the Clause Condition window, you can create a conditional expression and also create a complex expression using logical operators between multiple rows of conditions. To create an expression you must enter values for the following three fields:
Field Description Field Select the field which you want to set as the criteria for the condition. The Field drop-down shows the Contract Agreement object and its fields from your Salesforce org. You must select a field name. The fields are listed and grouped according to their hierarchy. Operator Select the logical operator from the drop-down. This forms the relationship between the Field and its Value. Value Enter the value of the field name selected in the Field. - Click Add row to create more conditions. You can add up to 9 rows of condition expressions.
- Click Custom Logic to add a logical relation between multiple rows of condition expressions. The supported filter logic operators are AND and OR. You can use parentheses for setting the precedence. For example, if you have 5 rows you can create a filter logic like, (((1 AND 3) OR (2 AND 4)) AND 5). In the absence of a filter logic, the default relationship between the rows is the Boolean operator AND.
- Click Test to check whether your filter logic expression is correct. If your logic is incorrect, you will see a message in red.
- Click Add.
- Click Save to save the condition. Your clause is made conditional and you will see a success message. A lightning icon (
) is displayed next to the particular clause. Click the lightning icon (
) to view the conditions added to the particular Clause.
The properties page now shows the condition that you created.
To view and edit a condition
- Open Microsoft Word and log in to X-Author for Contracts Advanced for Conga CLM (Contracts for Salesforce).
- From the Contracts pane, click the Home button
) and select Templates.
- In the Templates pane, go to Work > Clauses.
- Select a clause or clause bundle from the clauses list.
- Click the Settings icon (
) next to the clause or clause bundle. This opens the Properties page and you can see the condition expression set for that clause or clause bundle.
- To edit the condition, click the Edit icon (
) next to Condition.
To delete a condition
- Open Microsoft Word and log in to X-Author for Contracts Advanced for Conga CLM (Contracts for Salesforce).
- From the Contracts pane, click the Home button and select Templates.
- In the Templates pane, go to Work > Clauses.
- Select a clause or clause bundle from the clauses list.
- Click the Settings icon (
) next to the clause or clause bundle. This opens the Properties page and you can see the condition expression set for that clause or clause bundle.
- Click the Delete icon (
). You will see a confirmation message. Click Remove.
The condition is deleted for the clause or clause bundle.