07-12-2022 06:50 AM
Dear all,
My environment : UCCX 12.5
Here is is my use case :
I have a standard UCCX Call flow, routing a call to an agent.
In the same time, I want to trigger a HTTP trigger flow from a 3rd party application, for updating a Call Variable related to the active call distributed to the agent.
Would it be possible to achieve this from script editor ? (Maybe through the Sessions Steps)
Thanks for your help.
David
07-12-2022 06:55 AM
Is there some unique identifier that both the HTTP and Telephony contacts would know? If the answer is yes, you can use that value as a session key and put data in there. I believe by default sessions live to 15 minutes. Somehow both scripts need to be able to figure out a common key to use so you could store information from one source that the other source could locate.
07-12-2022 08:27 AM
Hello Elliot,
First, thanks for your quick reply. Just to be sure, that's what I did on the Voice script :
On the HTTP script :
Maybe I am not using these steps correctly. (CF attached screenshots)
David
07-13-2022 02:49 AM - edited 07-13-2022 03:13 AM
07-13-2022 06:28 AM
Thank you Elliot, I can now retrieve information coming from a previous interaction through the session steps.
One last question, once I have the identified session on the http script, do you think I can update Call Variable on the active call routed to the agent.
When I try using the "Set Enterprise Call Info" step, I get an error. Not sure if it could work as I try to update call variable from an http script.
David
07-13-2022 10:23 AM
What variable are you trying to update? You should be able to update any of the 10 custom call variables.
07-13-2022 11:45 AM
I am trying to update regular Call Variables. (Call Variables from 1 to 10). I probably missed something, I will try again.
07-13-2022 01:58 PM
07-14-2022 02:58 AM
Hi Elliot,
On my http script, I have created a local Contact variable.
I try to assign the new contact variable with the correct value. I think that's where I stuck.
According to this Cisco doc, I've used the Get trigger Info to treat the interaction as a call, but I think I misunderstand the contact assignment based on sessions.
https://developer.cisco.com/docs/contact-center-express/#!the-get-trigger-info-step
Maybe I need to use a "Set" step to initiate the contact variable based on the session Object ?
Here is my HTTP script, in case you have an idea.
https://drive.google.com/file/d/1w-yoZ0Tv9k8Fauv5GiJAr12Va4nOjTOh/view?usp=sharing
It fails on the Call Variable assignment.
Thanks for your help.
David
07-14-2022 11:58 AM
***Most*** people use Triggering Contact, primarily because this is pretty much always there. I have a contact variable that I pass between applications and/or sub-flows, but that isn't the normal.If you are trying to associate this value with the inbound request generated by an HTTP trigger, try setting enterprise call info on Triggering Contact.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide