Ytria logo DOCUMENTATION
⚠ This page requires javascript enabled in browser
Automation / replicationEZ Automation

 

Tag: CompareAgents

The CompareAgents action, along with a set of SetParam child actions, emulates the Compare Agents process in replicationEZ.

<CompareAgents>
<SetParam Field="AgentType" Value="AllDocuments"/>
<SetParam Field="SearchType" Value="Basic"/>
</CompareAgents>

SetParam Options

Field NameCompatible Field ValuesValue DescriptionComment
AgentTypeAll

Scheduled

BeforeMail

AfterMail

AllDocuments

ServerStats

SearchType

See detailed description
SearchTypeDesignCollection

Basic

See detailed description

Detailed Description

Every option available within the Agent Comparator Setup dialog is available as a corresponding SetParam value.

Example Script

<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="replicationEZ" ApplicationVersion="16.5">
<Load Server="Acme01/ACME" Select="True"/>
<Select Target="Grid" lines="all"/>
<CompareAgents>
<SetParam Field="AgentType" Value="AfterMail"/>
<SetParam Field="SearchType" Value="DesignCollection"/>
</CompareAgents>
</ytriaAutomation>

In the script above, all agents of the type 'After new mail has arrived' will be compared for all of the lines selected within the main grid.