I created a script to be a subflow named parseSchedule.aef. I created another script to be a subflow and to encapsulate the first, named getSchedule.aef. I can run both of these in the debugger without any trouble. When I create another script that uses a Call Subflow node to call getSchedule.aef, I get an error
166583: Oct 08 08:24:03.710 EDT %MIVR-APP_MGR-3-STEP_FAILURE:Failure to execute a step: Application=App[name=Eng_Build_App,type=Cisco Script Application,id=1,desc=Eng_Build_App,enabled=true,max=5,valid=true,cfg=[ApplicationConfig[schema=ApplicationConfig,time=2010-10-07 17:38:01.0,recordId=1,desc=Eng_Build_App,name=Eng_Build_App,type=Cisco Script Application,id=1,enabled=true,sessions=5,script=SCRIPT[Eng_Build_App.aef],defaultScript=,vars=,defaultVars=null]]],Task id=25000000019,Step id=107,Step Class=com.cisco.wfframework.steps.core.StepCallSubflow,Step Description=Call Subflow(SCRIPT[getSchedule.aef] ),Exception=java.lang.ArrayIndexOutOfBoundsException 166584: Oct 08 08:24:03.710 EDT %MIVR-APP_MGR-3-EXCEPTION:java.lang.ArrayIndexOutOfBoundsException
There are no subscripted variables in the Input Mappings or the Output Mappings.
Is this notation "SCRIPT[getSchedule.aef]" causing the ArrayIndexOutOfBoundsException?
Using SCRIPT[filename.aef] is the method you should use, to indicate you are calling a script file from the repo.
Do not confuse that with Java arrays: e.g., String, int, or other.
I too have a strange issue with calling subflows in 8.0(2), and have a TAC case open on it. My subflows run fine stand alone, but not when called from another script. My case is with the developers, but I have not heard back yet.
If you could turn on ENG debugging, then run the test again, and post your new logs, just the section of the failure, that might show more detail about whats going on.
Please use the star ratings to help drive great content to the top of searches.
I've you come up with an explanation form the TAC team?
I'm running UCCX 8.0(2)SU2 and I have the same exception when I call a subflow.
The interestening part is that it only happens one time. When I make a refresh on the AppAdmin of the Application that calls my primary script, then the first time I execute that script it blows with that exception on the call subflow step.
The following times it doesn't return any error....
I'm not able to access my old voice mail messages all of a sudden. The recording says something like 'the message is currently not available'. This has never happened before in all the years I have been using this system. I have t...