Skip to main content
Solved

CLM: Number function and comparison in a Conditional Test

  • March 6, 2024
  • 1 reply
  • 106 views

Forum|alt.badge.img+3

Hello,

We have a CLM template with the following logic:

<# <Conditional Test=”number(//Quote_Lines_Count) > 0” /> #>

Count is greater than 0

<# <EndConditional/> #>

<# <Conditional Test=”number(//Quote_Lines_Count) < 1” /> #>

Count is less than 1

<# <EndConditional/> #>

 

The first conditional test is working well. We see "Count is greater than 0" show up on the document when Quote_Lines_Count has a value > 0. It also does not show up when the value is <= 0.

However, the second conditional test is not working. "Count is less than 1" does not show up on the document when Quote_Lines_Count has a value <= 0.

We tried the following too but it did not work.

<# <Conditional Test=”number(//Quote_Lines_Count) = 0” /> #>

Count is equal to 0

<# <EndConditional/> #>

 

Any idea what’s wrong here or what would be the right way of achieving what I am trying to do?

 

Thanks.

Best answer by Alexandre.Augusto

Hello,

 

Try this article to see some examples to be used on your case.

Best,

Alexandre

View Original
Is this content helpful?

Alexandre.Augusto
Docusign Employee
Forum|alt.badge.img+14

Hello,

 

Try this article to see some examples to be used on your case.

Best,

Alexandre


Reply