Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger application step

I have a script where I've run into the 1000-step limit. Part of the script reads an XML file which can take up to 200 steps if the information isn't found. This is a good place to off-load to another script. I'm trying to use the trigger application step to execute this .aef script but I can't get the script to execute. The trigger application step always falls through to the NotFound branch. I've tried many iterations of the path to the file which does work as a stand-alone script if called via a trigger. I've used just the file name with and without .aef. I've tried the fully qualified path to the file with and without the file extension. No luck.

What's the secret to getting another script to execute from a trigger application step? The documentation is a little sparse on details and there aren't any examples that I can get to work.

7 REPLIES
VIP Super Bronze

Re: Trigger application step

You need to enter the application name, not the script name.

Re: Trigger application step

Thank you for the quick response. Please excuse my ignorance but how and where do I define the application name? Is it possible to define another script as an application? What type of application (i.e. exe?) can I define in the application name field?

I'm still new to this type of programming and I'm still learning.

VIP Super Bronze

Re: Trigger application step

Yes you need to associate the script to an application under Applications > Application Management. The name is case sensitive when you enter it into that step.

Re: Trigger application step

Thank you for your help. That did it. Now I have to troubleshoot the errors I'm getting when executing the application script. Something about the wrong trigger type. I have to research this further but at least I can execute another script now.

Silver

Re: Trigger application step

Did you manage to get this working?

When using the Trigger Application step, I get an error saying

'AcceptStep: Trigger is not a ContactApplicationTrigger'

in the application being triggered.

Any ideas or examples on how to get this working would be appreciated.

Brian

Re: Trigger application step

Brian,

I gave up on this. I thought I had it working but I kept getting error messages so I gave up devoting anymore time to it. To work around the 1000-step limit I just increased the limit to 3000. I couldn't find any script examples or anyone who had actually done it who could provide guidance. Sorry.

Silver

Re: Trigger application step

Thanks for your reply bmungaven ...

The UCCX documentation on this is quite bad, I've tried all sorts of different things and haven't managed to get it working. I need to get it working for reporting purposes more than anything.

Has anybody had any success in using the Trigger application step?

Brian

788
Views
0
Helpful
7
Replies
CreatePlease to create content