AgentWork

Represents information about the AgentWork record.

new AgentWork(param)

FieldTypeDescription
paramobjectThe parameters associated with the AgentWork record.
param.workItemIdstringThe unique ID of the associated MessagingSession record.
param.workIdstringThe unique ID of the AgentWork record.
param.workEventenumThe type of AgentWork event. Possible event type values from WORK_EVENT include: ACCEPTED, ASSIGNED, CLOSED, COMPLETED, DECLINED, PAUSED, and UNPAUSED.