Conditionally breaks the configuration execution.

Syntax

<exit condition="condition" message="message" />

Attributes

Name Required Default Description
condition no true Condition that determines if execution will stop. Must be boolean value (true, yes, false, no).
message no Optional message to the user if configuration is exiting. Will be part of logging information, or dialog warning will popup if Web-Harvest is used in GUI mode.

Example

<exit condition='${!sys.isVariableDefined("username")}' message="No username provided!" />

Configuration is stopping execution if variable username is not defined.