⚠ This page requires javascript enabled in browser
Automation / scanEZ Automation


Tag: ReplicationAudit

The ReplicationAudit action, along with the applicable nested SetParam child actions, lets you automate the Replication Auditor tool.

<Setparam Field="SelectRepServer" Value=""/>
<SetParam Field="ModifiedAfter" Value="2012-10-17T20:00:00"/>

SetParam Options

Field NameCompatible Field ValuesValue DescriptionComment
SelectRepServerUser definableAny string to define server name or IP addressMandatory
ModifiedAfterUser definableDate or Date/Time in compatible YYYY-MM-DDThh:mm:ss 24 hr formatMandatory

Sub Actions

Tag: RunAudit

The sub action RunAudit emulates clicking the 'Audit' button in the Replication Auditor; it is a mandatory action to carry out the audit proposed in the SetParam options.

Tag Attributes

AttributesAttribute ValueValue DescriptionComment


The audit modeNot Mandatory - default is 'Differences'

A MySelection action script block can be nested within this action block to add selections to a virtual My Selection folder.

Example Script

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<ytriaAutomation Application="scanEZ" ApplicationVersion="16.5" Version="1.0">
<Load Server="ACME01/ACME">
<Load Database="dbtestrepl\Helptest.nsf" Select="True"/>
<Setparam Field="SelectRepServer" Value="ACME02/ACME"/>
<SetParam Field="ModifiedAfter" Value="2015-07-25T10:00:00"/>
<RunAudit Select="All"/>
<Select Lines="All"/>
<SetParam field="FilePath" value="D:\scanEZ-ReplicaAudit.html"/>
<SetParam field="ExportType" value="HTML"/>
<SetParam field="SelectedRowsOnly" value="True"/>

In the script above, the action ReplicationAudit and the specified SetParam options will set the Replication Auditor tool to conduct an audit of the replica of the database 'dbtestrepl\Helptest.nsf' located on server ACME02/ACME and will find all documents that were modified after 10:00:00 PM on July, 25 2015. The action RunAudit will launch the audit itself. The results of this audit will be exported from the Replication Auditor grid to an HTML file. The Replication Auditor tool dialog will close.