Skip to content

Tag: <testExists> - Test for the Existence of a Parameter

Definition

The <testExists> tag is used to check if a named parameter exists.

This tag has the following attributes:

Parameters

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

  • value (str) : This is the string that is compared to. This has to be an exact match and IS case sensitive.

Example

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

1
2
3
4
5
   <command>...
      <conditions>
         <testExists name="serviceactive"/>
      </conditions>
   </command>

Parent Tags

Child Tags

  • None