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?
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).
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?
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?
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.
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?
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.