cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2457
Views
5
Helpful
6
Replies

HTTP Trigger

jbushong2
Level 1
Level 1

I have configured an application that uses the static and dynamic web pages to request a response and then start a script after the response is sent. Now I need to have a script start by merely hitting the web address; no other input from the user. I have a static-type web page built and saved on the CCX and I can hit that page from a browser. But it never triggers the application. What am I missing?

Application: Trigger URL= /FileCleanup

                   Script: File Cleanup.aef

Document Name: FileCleanup.html

Start of script:

 Script.png

JB

1 Accepted Solution

Accepted Solutions

Ah, ok , I see the issue. You don't put .html on the end of the Trigger.

You should be using http://[fqdn of CCX]:9080/FileCleanup

View solution in original post

6 Replies 6

Anthony Holloway
Cisco Employee
Cisco Employee
I'm confused as to what you're saying.

If you configure an HTTP trigger, it has to point to an Application, and that Application has to be associated to a Script.

If you run a Reactive Debug on the script in question, does it capture the session?

HTTP Trigger is configured on the Application.

Application has an assigned script.

 

Running debug on the script, the script does not engage when I put the full URL in the browser.

 

Untitled.png

What URL are you using to access the Trigger? Maybe you're putting in the wrong URL? Do any of your other HTTP triggers work for you? Maybe your script is not validate? Tools > Validate?

URL = http://[fqdn of CCX]:9080/FileCleanup.html

Script passes validation

Other http enabled scripts work in the fashion that is in the script editor examples (hhtp to a html form, user clicks the button and the static html is returned).

UCCX version 11.6

Ah, ok , I see the issue. You don't put .html on the end of the Trigger.

You should be using http://[fqdn of CCX]:9080/FileCleanup

Thank you, sir. Sometimes it takes a second set of eyes. My shortcut to the application doesn't have the .html on it.