Skip to content

Tag: <testNonBlank> - Test for a parameter having a value

Definition

The <testNonBlank> tag is used to check if a named parameter has a value set and that the value is not blank/empty.

This tag has the following attributes:

Parameters

  • name (str):The name of the parameter whose current value is to be checked.

Example

To perform a specific command only when the parameter serviceactive exists, you would use the following:

1
2
3
4
5
   <command>...
      <conditions>
         <testNonBlank name='serviceactive'/>
      </conditions>
   </command>

Parent Tags

Child Tags

  • None