From Bright Pattern Documentation
< 5.19:AgentDesktop-client-side-javascript-api-specification
Revision as of 04:01, 29 May 2024 by BpDeeplTranslateMaintenance (talk | contribs) (Updated via BpDeleteTranslateTags script)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 5.19


onLoadTransferData

This handler will be invoked during transfer initialization, when one agent sends interaction data to another agent. The handler will receive the CRM data that the transfer-initializer side will send via the return statement of the onRequestTransferData callback.

Request

Syntax

on('ON_LOAD_TRANSFER_DATA', handler: OnLoadTransferDataHandler): void

type OnLoadTransferDataHandler = (interactionId: string, data: any) => void

Parameters

Parameter Parameter Values Data Type Optional/Required Description
interactionId String Required The ID of the transferred interaction
data String Required The data that will come from another instance of your CRM integration from the agent that initiates the transfer


Return Value

(None)

< Previous | Next >