Author Message
Wilfred
Joined: Sep 11, 2017
Messages: 2
Offline
Is there a way to detect if an interaction has been transferred (as oppose to being ended)?

The data in the onInteractionEvent goes from state "ACTIVE" to state "ACW" (assuming ACW is enabled), however the stateReason is always "DEFAULT". The data in the onInteractionEndedEvent is identical to the last onInteractionEvent (with state "ACW").

I would like the widget to perform different cleanup activties for transfer vs being ended by the agent.

Cheers,
Wilfred

mruane
Joined: Jan 26, 2022
Messages: 5
Offline
Hi Wilfred,

Thank you for your message.
From a Workspaces API point of view, the only property that might provide this kind of information in an ACW state is the stateReason, but this would be up to the connector to set. If it is coming down as DEFAULT, then this type of transfer awareness for an interaction may not be in place on the backend.
There would not be any other way to tell if an ACW interaction is in that state as a result of a transfer.

Thanks,
Mossy
Go to:   
Mobile view