Tag: StopAutomation


The self-closing tag StopAutomation, will stop an automation script at any given point in it's execution. Unlike the tag Exit the application session will remain active.

<StopAutomation/>
XML

Example Script

<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="scanEZ" ApplicationVersion="16.5">
	<Load Server="ACME01/ACME" database="maildbtest1.nsf"/>
	<StopAutomation/>
	<CreateFolder Name="NewFolder2" Type="Private" CopyFrom="NewFolder1"/>
</ytriaAutomation>
XML

In the script above, the database "maildbtest1.nsf" will be loaded in scanEZ. The action StopAutomation will then halt the scripts execution at that point. Nothing after this line will be processed. The application session will remain active.