Set Agent Search Filter Options
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.
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"/>.
Tag Attributes
Attributes | Attribute Value | Value Description |
---|---|---|
Value | All Scheduled BeforeNewMailArrives AfterNewMailArrives AllDocumentsAreCreatedOrModified WhenServerStarts | The agent search filter setting - Required (See detailed description) |
Example Scripts
<AgentTriggerType Value="AllDocumentsAreCreatedOrModified" />
<ytriaAutomation>
<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.