![]() |
The reportBatch method can be used to create application or call flow data log entries in the Experience Portal report database. In either case, the list of input parameters is the same. The only difference is the information you specify for each input parameter.
This topic details the information you should specify to create a call flow data log entry. For information about creating an application log entry, see reportBatch method for application logging.
| Parameter | Type | Description | ||||
|---|---|---|---|---|---|---|
| appServerAddress | string | The hostname or IP address of the application server. | ||||
| applicationID | string |
The name of the application. For example: CollectTicketInfo
|
||||
| level | string |
This should always be: Info
|
||||
| reason | string |
The reason this log entry was made. When entering data in this
field, you should keep in mind that:
|
||||
| sessionID | string |
The session ID for the session.
This is a user-defined identifier that should be unique across sessions. |
||||
| Timestamp | string | The current system time in milliseconds since January 1, 1970 00:00:00 UTC. The value of this parameter should contain a long number. | ||||
| transactionName | string |
This should always be: Framework
|
||||
| type | string |
The options are:
|
||||
| userLog | string | The session label. | ||||
| varName | string | A variable name, if one should be included with this log entry. | ||||
| varValue | string | The value of the variable named in varName. | ||||
| activityDuration | integer |
The duration in seconds between the timestamp of the first log
entry with the activity type of Node Entry or Application Exit and this log entry in a single session block.
|
||||
| moduleIdNodeId | string |
The module and node identifiers. If the type of the last log entry in the session block is Application Exit, than this field should be "--" (dash
dash).
Otherwise, it should contain the module ID and node ID in the format: For example, if the application name is
|
The reportBatch method returns one of the following values:
success
decryption failed - error occured decrypting the password
Password incorrect
Request is out of date
Error storing data in database
Error initializing database
Error getting the VPID
If the method fails, you can use the logFailed method to enter an event into the Experience Portal event log.