public.vwuserinteractionpresencedetaileddata
Description
See UserInteractionPresenceDetailedData: User Interaction Presence Detailed Data View
Table Definition
CREATE VIEW vwuserinteractionpresencedetaileddata AS (
SELECT userinteractionpresencedetaileddata.userid,
userdetail.name AS agentname,
userdetail.managerid,
userdetail.managername,
userdetail.divisionid,
userinteractionpresencedetaileddata.starttime,
userinteractionpresencedetaileddata.starttimeltc,
userinteractionpresencedetaileddata.endtime,
userinteractionpresencedetaileddata.endtimeltc,
userinteractionpresencedetaileddata.systempresence,
userinteractionpresencedetaileddata.orgpresence,
userinteractionpresencedetaileddata.routingstatus,
userinteractionpresencedetaileddata.conversationid,
userinteractionpresencedetaileddata.mediatype,
userinteractionpresencedetaileddata.timeinstate,
(userinteractionpresencedetaileddata.timeinstate / 86400.00) AS timeinstateday,
userinteractionpresencedetaileddata.updated
FROM (userinteractionpresencedetaileddata
LEFT JOIN vwuserdetail userdetail ON (((userdetail.id)::text = (userinteractionpresencedetaileddata.userid)::text)))
)
Columns
userid |
varchar(50) |
|
true |
|
|
User GUID |
agentname |
varchar(200) |
|
true |
|
|
Agent Name |
managerid |
varchar(50) |
|
true |
|
|
Manager GUID |
managername |
varchar(200) |
|
true |
|
|
Manager Name |
divisionid |
varchar(50) |
|
true |
|
|
Division GUID |
starttime |
timestamp without time zone |
|
true |
|
|
Start Time |
starttimeltc |
timestamp without time zone |
|
true |
|
|
Start Time (LTC) |
endtime |
timestamp without time zone |
|
true |
|
|
End Time |
endtimeltc |
timestamp without time zone |
|
true |
|
|
End Time (LTC) |
systempresence |
varchar(50) |
|
true |
|
|
System Presence |
orgpresence |
varchar(50) |
|
true |
|
|
Organization Presence |
routingstatus |
varchar(50) |
|
true |
|
|
Routing Status |
conversationid |
varchar(50) |
|
true |
|
|
Conversation GUID |
mediatype |
varchar(50) |
|
true |
|
|
Media Type |
timeinstate |
numeric(20,2) |
|
true |
|
|
Time in State |
timeinstateday |
numeric |
|
true |
|
|
Time in State (Days) |
updated |
timestamp without time zone |
|
true |
|
|
Last Updated Time |
Referenced Tables
Related Articles
public.participantattributesdynamic
Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(50) false conversationid varchar(50) false conversationstartdate timestamp without time zone false conversationstartdateltc timestamp without time zone true ...
public.userpresencedetaileddata
Description User Presence Detailed Data Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false Primary Key userid varchar(50) true Agent GUID starttime timestamp without time zone false Start Time (UTC) starttimeltc ...
public.evalquestiondata
Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(50) false evaluationid varchar(50) false evaluationformid varchar(50) false questiongroupid varchar(50) true questionid varchar(50) true answerid varchar(50) true ...
public.userinteractionpresencedetaileddata
Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false userid varchar(50) true starttime timestamp without time zone false starttimeltc timestamp without time zone true endtime timestamp without time zone ...
public.userpresencedata
Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false id varchar(50) true userid varchar(50) true startdate timestamp without time zone false startdateltc timestamp without time zone true timetype ...