11-11-2014 12:08 AM - edited 03-15-2019 06:03 AM
Hi,
I am upgrading ccx 7.0 to 9.0. In ccx 7.0 I am using http trigger which is changing the file during script working. This file locates in windows file system in the folder wfavvid. I haven't access to the file system in UCCX 9.0 and i don't know how to locete this file in new version.
Could you tell me where this file can be located?
Thanks
Mikhail
11-11-2014 12:23 AM
Hi,
can you please what file in the wfavvid directory you are changing and why?
UCCX is a black box since version 8.0 you should avoid using its file system (although it is possible).
G.
11-11-2014 12:28 AM
Gergely Szabo, hello
I use this file to write the status of the call. If it is possible, could you tell me how to do it.
Thanks
Mikhail
11-11-2014 12:32 AM
I can't tell you how to write into the program directory of an application. Honestly, I don't know and I don't want to know.
Do you absolutely need to write a piece of information into a file? This way: who is going to read that file after it has been written?
Is using a database or a HTTP call an option?
G.
11-11-2014 12:34 AM
It is an option.
11-11-2014 12:36 AM
Which one, a database INSERT or a HTTP request?
G.
11-11-2014 01:30 AM
I have to use Send HTTP Response command and i can use file only in this command. I'm opening this file, writing status of the call there, using it in Send HTTP Response command and closing without saving.
Maybe I can use this file from repository?
11-11-2014 05:08 AM
I don't understand. You have a HTTP application that reads the contents of a file?
11-11-2014 06:45 AM
No, I have an utility which contain the list of phone numbers and as I understand this unitity is waiting http response from the script. For this task I use "Send http Response" command, which in turn uses this file. It is not my script and I don't know how to do it in another way.
11-11-2014 11:43 AM
Okay, so there is a program somewhere that issues a HTTP request, triggering a UCCX application, which in turn executes a script which reads a file somewhere on the file system of the UCCX and the contents are returned as a HTTP response?
Can you actually post the sript or at least a screenshot of it?
G.
11-12-2014 12:32 AM
11-12-2014 02:37 AM
Hi,
this is relatively easy. All you have to do is to upload the today.html file to the Document repository (after creating the directory named "template" within the "default" directory).
Then kick the doc = Create File Document ("template/today.html") out for a Set doc = DOC[template/today.html] step.
G.
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