Skip to main content
Active Voice
Mar 6, 2024 4:03 PM UTC
Solved

CLM: Number function and comparison in a Conditional Test

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.

Alexandre.Augusto
Docusign Employee
Mar 6, 2024 9:00 PM UTC

Hello,

 

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

Best,

Alexandre

Your feedback is very appreciated! You can give a Like and mark this answer as the "Best Answer" for your issue. DocuSign University http://dsucustomers.docusign.com

1 reply

Alexandre.Augusto
Docusign Employee
Docusign Employee
Mar 6, 2024 9:00 PM UTC

Hello,

 

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

Best,

Alexandre

Translate
Your feedback is very appreciated! You can give a Like and mark this answer as the "Best Answer" for your issue. DocuSign University http://dsucustomers.docusign.com