Compare Agents or Selected Entries

Tag: CompareAgents

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

Detailed Description

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

SetParam Options

Field Name

Compatible Field Values

Value Description

AgentType

AllScheduled

BeforeMail

AfterMail

AllDocuments

ServerStats

SearchType

https://www2.ytria.com/icons/ecblank.gif N/A - See detailed description

SearchType

DesignCollection

Basic

https://www2.ytria.com/icons/ecblank.gif N/A - See detailed description


Example Scripts

XML
<CompareAgents>


XML
<ytriaAutomation>
	<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.