Tag: AgentTriggerType
The
AgentTriggerType
action lets you automate setting the "
agent search filter" options found in the dropdown menus in the
database selection panel of agentEZ.
<AgentTriggerType Value="AllDocumentsAreCreatedOrModified" />
Tag Attributes
Attributes | Attribute Value | Value Description | Comment |
Value | All
Scheduled
BeforeNewMailArrives
AfterNewMailArrives
AllDocumentsAreCreatedOrModified
WhenServerStarts | The agent search filter setting | Mandatory - see detailed description. |
Detailed Description
All of these options are 'sticky', and will remain set to the value specified; it is possible to arrive at the desired results without setting the Value attribute. Be sure to keep the default configuration in mind.
The equivalent script lines for the option shown above is
<AgentTriggerType Value="Scheduled"/>
.
Example Script
<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="agentEZ" ApplicationVersion="16.5">
<Load Server="ACME01/ACME"/>
<Select target="tree" Folder="Demos"/>
<UseDesignCollection value="true"/>
<AgentTriggerType value="WhenServerStarts"/>
</ytriaAutomation>
In the script above, the entire server "ACME01/ACME" will be loaded into the database selection tree of agentEZ, and the folder "Demos" will be selected. The design collection note will be used, and the action AgentTriggerType
will set the agent display filter to only show the agents that are of the type "When server starts" (based on the option within the dropdown menu) in the grid.