Avaya DXX-1015-01 manual ADU.GetValuesHistory

Page 57

ADU.GetValuesHistory

Input Parameters

aduid

An ADUID of an existing ADU.

name

The name of a field.

Output Parameters

values

A list of values to which the named field has been set.

when

When the field was set to each value, time_t string.

who

The session ID of the client that set each value.

Returns

VESP_SUCCESS

Request was successful.

VESP_ERROR

ADUID was not found.

ADU.GetValuesHistory

IDL Syntax ORBStatus GetValuesHistory( in ADU_ID aduid, in unsigned long flags,

out SeqLong headers, out SeqString names, out SeqSeqSeqString values) ;

Description GetValuesHistory returns everything that is known about all values in an ADU. For each named field in an ADU, it reports on all the values the field has had (up to the limit specified with the maxkeptrevisions configuration parameter), who set them, and when. By providing the various ADU_GSGET flags, you can control which of these values are returned.

The output in headers is a list of your specified flags, one per long integer. This indicates the order in which the bottommost sequence of strings in the values parameter are filled. Thus, if you specify (ADU_GSGETVALUE ADU_GSGETTIME), headers would come back with two long integers, one containing ADU_GSGETVALUE and one containing ADU_GSGETTIME. The bottommost sequences in the values parameter would list values in the same order.

The output in names is a list of all the data names within the ADU. Container elements each get their own entry. The topmost sequences in values are in the name order, so if names[3] is “x”, values[3] is the sequence that describes the history for “x”.

Values itself runs three levels down. The topmost level is parallel to the names sequence. The next level down represents one entry for each value that names has had over time. If a value has only been set once (a common case) this sequence only has one element. The lowest level runs parallel to the headers parameter, and has one element for each of the kinds of data requested (any combination of text, time, and who).

Issue 1.0 June 2002 57

Image 57
Contents Avaya Interaction Center Acknowledgment Contents Agent Data Unit Server Programmer’s Guide ContentsTypographical Conventions Before YOU BeginContacting Technical Support Font Type MeaningProduct Documentation Readme FileElectronic Documentation Educational Services Educational ServicesIssue 1.0 June 2002 Printed DocumentationAgent Data Unit Server Programmer’s Guide Start-up Procedures Chapter ADU ServerOverview ADU Server Cooperation of ADU ServersDefinition of an ADU Chapter Agent Data UnitADU Lifecycle ADU CreationListing Active ADUs ADU TerminationAgent Data Unit Aduid Bytes Example Description ContentsADU Data Table AduidADU Contents ADU Contents Core ADU FieldsField Name Description Set By Agent ADU Fields Description Set BySheet 1 Sheet 2 Sheet 3 Voice Data Containers Sheet 4Value Explanation 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 Chapter Event Monitoring ADU Event MonitoringDescription Message Event Monitoring Starting and Stopping Event MonitoringSetting Event Monitoring Criteria Setting Event Monitoring CriteriaMonitoring Criteria Syntax Example ADU.Assign loginid=Joe & ts.1.s=wrapup Relational Operators Symbol Definition DescriptionBoolean Operators Monitoring Criteria WildcardsWildcard Definition Example 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 Chapter ADU Server Methods Method ObjectivesException Information Routing Requests Method OverviewADU Server Methods Method Overview Methods ADU.AssignADU.Create ADU.Deassign ADU.DeleteOneValueADU.Deassign ADU.DeleteValues ADU.DeleteSubTreeADU.EventsIn ADU.FindADU.EventsIn Locate an ADU having a key containing ADU.FindByKeyADU.ForceTerminate ADU.FindOrCreateADU.ForwardEvent ADU.FindOrCreateADU.GetOneValue ADU.GetActiveADU.GetSomeValues ADU.GetSubTreeADU.GetSomeValues ADU.GetValueHistory ADU.GetValuesADU.GetValuesHistory ADU.GetValuesHistoryFirst value that was set was truth ADU.IncrValue ADU.MonitorADU.IncrValue ADU.SetAndTerminate ADU.RemoteWatcherADU.SetDefaultHistoryFilter ADU.SetAndTransferADU.SetAndTransfer Hsnostart Hsnochange Hsnotransfer Hsnouser Hsnodelete ADU.SetHistoryFilterADU.SetOneValue ADU.SetOneValueADU.SetValuesExtended ADU.SetValuesADU.Suspend ADU.TerminateADU.Suspend 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