cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1126
Views
1
Helpful
3
Replies

Displaying all Not Ready reason codes at once in Finesse Desktop

ravindra999
Level 1
Level 1

Hello All,

We have very long list of Not-Ready reason codes, and the agents have to scroll down when they click on "Not-Ready" to select the correct reason code.  Current finesse only shows around 10, and if we have more than that we have to scroll down to find the correct one.

Is there a way we can configure finesse to show all "Not Ready" reason codes all at once, when agent click on "Not Ready"?


Appreciate your input.


Thanks,

Ravi.

1 Accepted Solution

Accepted Solutions

dekwan
Cisco Employee
Cisco Employee

Hi,

Unfortunately there isn't a way to configure Finesse to show all the Not ready reason codes at once.

Thanx,

Denise

View solution in original post

3 Replies 3

dekwan
Cisco Employee
Cisco Employee

Hi,

Unfortunately there isn't a way to configure Finesse to show all the Not ready reason codes at once.

Thanx,

Denise

Astaroth_666
Level 1
Level 1

You can write a gadget and show buttons with all not ready reasons or make a table or list ... whatever

Something like this:

_user.getNotReadyReasonCodes({

    success : _handleReasonCodes

});

_handleReasonCodes = function (rsp) {

   _reasonCodes = rsp;

   _prepareUI();

}

_prepareUI = function () {

        $content = $('#GadgetContent');

        $('<div class="g6" id="state"></div>').appendTo($content);

       

        var stateContent = $content.find('#state');

        var reasonCode = _user.getReasonCodeLabel();

        $('<h4>Your current state is: '+_state+' '+reasonCode+'</h4>').appendTo(stateContent);

           

            $('<div id="reasonCodeButtons"></div>').appendTo(stateContent);

            var reasonCodeButtons = $content.find('#reasonCodeButtons');

           

            $('<button id="readyBtn" class="i_agentReady icon ready">ready</button>').appendTo(reasonCodeButtons);

            reasonCodeButtons.find('#readyBtn').click(function(){

                _user.setState('READY');

            });

                       

            $.each( _reasonCodes, function( key, value ) {

                $('<button data-id="'+value.id+'" data-label="'+value.label+'">'+value.label+'</button>').appendTo(reasonCodeButtons);

                reasonCodeButtons.find("[data-id='"+value.id+"']").click(function() {

                        var id = $(this).attr('data-id').toString();

                        var rc = { id: id };

                        _user.setState('NOT_READY', rc);

                });

            });

        }

That is correct. You can create a gadget to change the state with reason code.