How to update an email contact's extension fields upon requeue request? (UPDATED)
I'm trying to update the extension fields (eg. emailReplyCc) of an email contact inside finesse and make it show on CUIC reports.
I'm invoking the "cisco-ms-rest-module.js" functions: updateContact(), getContact(), updateContactStatus() and requeueContact(), which belong to the following script file: https://<socialMiner-FQDN>/multisession/ui/js/ccp/cisco-ms-rest-module.js
What I've accomplished so far is:
I've got only one contact pushed to the Mail-CSQ of a certain user.
When that contact is accepted by the user, the following steps are executed:
to put that contact back to the same 'Mail-CSQ' with reason "email_requeue_trasfer" and repeat over the same execution cycle, i.e. continue executing from step (1). Invoking any of the two, either (2_1) or (2_2), should add a new record to db_cra.textcustomerdetails, if one doesn't exist already.
Now, the steps above update the contact just fine in the SocialMiner, however in the UCCX db_cra.textcustomerdetails database table the following undesired behavior is observed:
If the execution flow is (1, 2_1) then all steps work fine and the records are updated as required with a new record being added to the db_cra.textcustomerdetails table with the updated extensionFields.
If the execution flow is (1, 2_2 ... ), then the extensionFields are not updated at all in the records, i.e a new record is added but with the original (non-updated) extensionFields.
The INSERTed db_cra.textcustomerdetails record does NOT get updated at all, it is only inserted once, and that's it.
There is a similar action to step (2_2), this one gets executed by the system automatically. When the agent who is currently busy with the contact gets disconnected from the finesse session, the system requeues the contact to the same CSQ with a status reason "email_requeue_agent_disconnected". This has the same and exact behavior as step (2_2) described above, except that it happens automatically.
My question is: How to always update the extensionFields in the db_cra.textcustomerdetails database table? Which script file invokes this INSERT command or where does this update request is invoked?
In a previous article I talked about the Cards & Buttons functionality of Webex Message. It's great to send nicely formatted or interactive messages.
What if you want to learn about Cards? There is a bot that teaches you all about Cards using...
The Python library "webexteamssdk" is great but there's one part of this library that "may need better documentation". This is the ability to create cards & buttons.
Here's a card example:
How is this card setup? What compone...
(using Python and the Flask Library)
An oAuth integration allows you to have an application "do stuff on your behalf".
This is a topic that can be quite complex to understand. For that reason I created this Python code to make it as easy as possible to...
It may be easier than you think.
After some customer requests I started writing code in Python. A few days later the script was ready.
What can it do?
ADD LOGO or image to your virtual background (using a domain/email address/URL/local-file)
Contact Center Knowledge Base
The Contact Center knowledge base contains information about developer topics for Finesse and Task Routing. For one-on-one help with these products, you can open a ticket at https://developer.cisco.com/site/support/. For...