Jump to: navigation, search

In the Column List:

  • P = Primary key
  • M = Mandatory field
  • F = Foreign key (where the term is used loosely to indicate a surrogate key reference to a field in another table, not a formal constraint)
  • DV = Default value
  • In the Data Type column, varchar/nvarchar means that the data type is varchar except in multi-language databases that use Unicode, in which case the data type is nvarchar.

Table BGS_SESSION_DIM

Description

Introduced: 8.5.011

In partitioned databases, this table is not partitioned.


This dimension table allows Bot Gateway Server (BGS) session facts to be described based on characteristics of the session, such as how the session ended.

Tip
To assist you in preparing supplementary documentation, click the following link to download a comma-separated text file containing information such as the data types and descriptions for all columns in this table: Download a CSV file.

Hint: For easiest viewing, open the downloaded CSV file in Excel and adjust settings for column widths, text wrapping, and so on as desired. Depending on your browser and other system settings, you might need to save the file to your desktop first.

Column List

Legend

Column Data Type P M F DV
ID int X X
REJECTED_TO_START int X 0
ENDED_ABNORMALLY int X 0
ENDED_BY nvarchar(50) X NO_VALUE
END_REASON nvarchar(50) X NO_VALUE
END_RESULT nvarchar(50) X NO_VALUE
CREATE_AUDIT_KEY numeric(19) X X

ID

The primary key of this table. This ID is referenced from other tables as BGS_SESSION_DIM_KEY.

REJECTED_TO_START

Indicates whether the session was rejected before it started: 0 = No, 1 = Yes.

If the session was rejected (REJECTED_TO_START=1), the columns for other session statistics in this table are populated with the default values defined in the schema.

ENDED_ABNORMALLY

Indicates whether the session ended abnormally for a technical reason (for example, a protocol or connection error resulted in disconnection of the bot from the session): 0 = No, 1 = Yes.

ENDED_BY

The type of participant that initiated termination of the BGS session. Possible values are:

  • AGENT
  • CLIENT
  • SYSTEM
  • BOT
  • CBP

For more information about the meaning of the values, see Integrating BGS with Genesys Historical Reporting in the Bot Gateway Server Quick Start Guide.

END_REASON

The reason the BGS session was terminated. For information about possible values, see Integrating BGS with Genesys Historical Reporting in the Bot Gateway Server Quick Start Guide.

END_RESULT

The business result of the session: Success or Fail. In the initial BGS implementation of support for reporting, BGS does not populate the applicable data attribute, and END_RESULT will always be populated with the default value defined in the schema.

CREATE_AUDIT_KEY

The surrogate key that is used to join to the CTL_AUDIT_LOG control table. The key specifies the lineage for data creation. This value can be useful for aggregation, enterprise application integration (EAI), and ETL tools—that is, applications that need to identify newly added data.

Index List

CODE U C Description
I_BGS_SESSION_DIM X Ensures that the combinations of values that are stored in the dimension table are unique.

Index I_BGS_SESSION_DIM

Field Sort Comment
REJECTED_TO_START Ascending
ENDED_ABNORMALLY Ascending
ENDED_BY Ascending
END_REASON Ascending
END_RESULT Ascending

Subject Areas

No subject area information available.

This page was last edited on October 2, 2020, at 12:23.
Comments or questions about this documentation? Contact us for support!