Skip to content

Tag: <testBlank> - Test For a Parameter Being Blank

Definition

The <testBlank> tag is used to check if a named parameter has a empty value set.

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 is empty/blank, you would use the following:

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

Parent Tags

Child Tags

  • None