amazon-connect / amazon-connect-salesforce-cti

Documentation for Amazon Connect CTI Adapter for Salesforce.
https://amazon-connect.github.io/amazon-connect-salesforce-cti/
Other
41 stars 36 forks source link

Bug: CTI Flow does not execute agent.onRefresh in CTI Adapter for Salesforce v5.19 #158

Open intptr-t opened 1 year ago

intptr-t commented 1 year ago

CTI Flow for agent.onRefresh event is not executed in Amazon Connect Salesforce CTI Adapter v5.19. Agent.onRefresh events do not seem to be binding. Is there any way to deal with this?

CTI Flow Information

Example CTI Flow

{
    "actions": [
        {
            "id": "uid-0",
            "type": "SE_Start",
            "meta": {},
            "controls": {},
            "ports": {
                "done": "uid-1"
            },
            "position": [
                -320,
                -256
            ]
        },
        {
            "id": "uid-1",
            "type": "SE_Log",
            "meta": {},
            "controls": {
                "level": "info",
                "message": "onRefresh!!!"
            },
            "ports": {
                "done": "uid-3"
            },
            "position": [
                -112,
                -256
            ]
        },
        {
            "id": "uid-3",
            "type": "SE_End",
            "meta": {},
            "controls": {},
            "ports": {},
            "position": [
                240,
                -256
            ]
        }
    ]
}
image
intptr-t commented 1 year ago

Similarly, the following settings do not seem to work.

Source: Initialization Event: onInit

It seems to be supported as far as the documentation is concerned.

image