02-07-2019 09:18 PM
We are developing a Finesse (v11.1) gadget where we need to capture the state change event of warm transfer leg. One would think the dialog change handler should be called when the transfer destination picks up, but it is not (not in case of inbound call scenario, but it is for outbound calls).
From web browser console output, we observe numerous workflow action events logged when the destination picks up.
The JavaScript lib document implies the following should work, but it does not get called.
containerServices.addHandler(finesse.containerservices.ContainerServices.Topics.WORKFLOW_ACTION_EVENT, function(data) {
console.log('Topics.WORKFLOW_ACTION_EVENT is called');
});
Does anybody know how to subscribe to workflow action events?
BTW - When you answer an inbound call, the answering action does not trap the dialog change event handler either, but it does trap user change handler due to state change from ready to talking, at least there is a workaround with this.
Strange behavior.
Solved! Go to Solution.
02-08-2019 10:14 AM
Hi,
The dialog change handler SHOULD be triggered when the person being called picks up as it will change their participant state. Are you adding a change handler for when the incoming call is received? Take a look at the LearningSampleGadget to get the correct dialog handlers: https://github.com/CiscoDevNet/finesse-sample-code/tree/master/LearningSampleGadget
Take a look at the WorkflowScreenPop sample gadget on how to subscribe to workflow events: https://github.com/CiscoDevNet/finesse-sample-code/tree/master/WorkflowScreenPopSampleGadget
Thanx,
Denise
02-08-2019 10:14 AM
Hi,
The dialog change handler SHOULD be triggered when the person being called picks up as it will change their participant state. Are you adding a change handler for when the incoming call is received? Take a look at the LearningSampleGadget to get the correct dialog handlers: https://github.com/CiscoDevNet/finesse-sample-code/tree/master/LearningSampleGadget
Take a look at the WorkflowScreenPop sample gadget on how to subscribe to workflow events: https://github.com/CiscoDevNet/finesse-sample-code/tree/master/WorkflowScreenPopSampleGadget
Thanx,
Denise
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: