Avaya DXX-1015-01 manual Setting Event Monitoring Criteria, Monitoring Criteria Syntax

Page 29

Setting Event Monitoring Criteria

Assigning to the ADU Server and monitoring an ADU do not add a client's name to the internal list of ADU-modifying clients. (The internal list of clients is described in “ADU Termination,” on page 12.) Assigning allows the client to watch the activity of an ADU. The client does not have to issue an ADU.Terminate() for each ADU being watched.

By default, a client's assign criteria is distributed to all ADU servers. If this is not desired, prefix the Assign or Monitor expression with a colon symbol (:):

For example:

[ADU.Assign(":loginid=wynn")]

If you specify both : and +, : must come first. So ":a=b" watches field a for value b, and reports only on those local vdus.

Note: In this sense, local means "this VDU server". If you fail over to a different VDU server, you may not get the result you were expecting.

iver=148

To test, try: [ADU.Assign(":state#Z")]

In a WAN, your ADU server should show events coming back for all logged in agents, but the other ADU servers should only get RemoteWatcher requests with empty strings, and should send no events back.

Setting Event Monitoring Criteria

ADUs are selected for monitoring by criteria matching. A criteria is an expression that selects some ADUs and rejects others according to a defined specification. If a criteria expression is provided as a parameter to the Assign() or Monitor() method, each name/value pair in the ADU is tested against it. If the criteria determine that a match exists, the ADU is watched. Subsequent changes are sent to the client as change events.

The following values cannot be successfully used in an Assign criteria:

createtime

createtimet

duration

endtime

suspend

￿termination transfercount.

Monitoring Criteria: Syntax

The general syntax of a criteria statement is:

method (name relationalop value [booleanop] name relationalop value)

Issue 1.0 June 2002 29

Image 29
Contents Avaya Interaction Center Acknowledgment Contents Agent Data Unit Server Programmer’s Guide ContentsTypographical Conventions Before YOU BeginContacting Technical Support Font Type MeaningElectronic Documentation Product DocumentationReadme File Educational Services Educational ServicesIssue 1.0 June 2002 Printed DocumentationAgent Data Unit Server Programmer’s Guide Overview Start-up ProceduresChapter ADU Server ADU Server Cooperation of ADU ServersDefinition of an ADU Chapter Agent Data UnitADU Lifecycle ADU CreationAgent Data Unit Listing Active ADUsADU Termination Aduid Bytes Example Description ContentsADU Data Table AduidADU Contents Field Name Description Set By ADU ContentsCore ADU Fields Sheet 1 Agent ADU FieldsDescription Set By Sheet 2 Sheet 3 Value Explanation Voice Data ContainersSheet 4 Following ADU fields are used by queues on Avaya IC Queue ADU FieldsContainers ContainersContainer Names and Special Tokens Limitations of Container Syntax Containername .!loginidParameter Type Default Description Container ConfigurationsADU.Update VDU.Update ADU.Create VDU.CreateEDU Values written if tscon is set to true Agent Data Unit Description Message Chapter Event MonitoringADU Event Monitoring Event Monitoring Starting and Stopping Event MonitoringMonitoring Criteria Syntax Setting Event Monitoring CriteriaSetting Event Monitoring Criteria Example ADU.Assign loginid=Joe & ts.1.s=wrapup Relational Operators Symbol Definition DescriptionWildcard Definition Example Boolean OperatorsMonitoring Criteria Wildcards Criteria Example Description Monitoring Criteria ExamplesEvent Monitoring Agent Data Unit Server Programmer’s Guide Priority Description Cause/Recommended Action Chapter AlarmsAlarms Configuration Parameters Chapter ADU Server ConfigurationSystem Considerations ADU Server Alias NameADU Server Configuration Configuration Parameters Sheet 4 Name Description Set them on the Config tab of the ADU Server Editor dialogADU Server Configuration Chapter IDL Specification IDL Specification Exception Information Chapter ADU Server MethodsMethod Objectives ADU Server Methods Routing RequestsMethod Overview Method Overview ADU.Create MethodsADU.Assign ADU.Deassign ADU.DeassignADU.DeleteOneValue ADU.DeleteValues ADU.DeleteSubTreeADU.EventsIn ADU.EventsInADU.Find Locate an ADU having a key containing ADU.FindByKeyADU.ForceTerminate ADU.FindOrCreateADU.ForwardEvent ADU.FindOrCreateADU.GetOneValue ADU.GetActiveADU.GetSomeValues ADU.GetSomeValuesADU.GetSubTree ADU.GetValueHistory ADU.GetValuesADU.GetValuesHistory ADU.GetValuesHistoryFirst value that was set was truth ADU.IncrValue ADU.IncrValueADU.Monitor ADU.SetAndTerminate ADU.RemoteWatcherADU.SetAndTransfer ADU.SetDefaultHistoryFilterADU.SetAndTransfer Hsnostart Hsnochange Hsnotransfer Hsnouser Hsnodelete ADU.SetHistoryFilterADU.SetOneValue ADU.SetOneValueADU.SetValuesExtended ADU.SetValuesADU.Suspend ADU.SuspendADU.Terminate ADU.Touch ADU.TerminateMineADU.Transfer ADU.TransferADU Server Methods Agent Data Unit Server Programmer’s Guide Index SymbolsAduid IndexIssue 1.0 June 2002 Index Index Index Agent Data Unit Server Programmer’s Guide