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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Launching a new script from a running script in IPCC Express 4.0.5

Is there a way to launch a script from an already running script. I need to start multiple instances of a callback script from a master script. Is there a way to create an HTTP request from a script that would kick off another script and pass some data into the new script?

Thanks.

Pavel Bogomolnyi

3 REPLIES
New Member

Re: Launching a new script from a running script in IPCC Express

Yes, it is possible but you'll need to write your own step in java that executes an HTTP Post or if you're running Premium Edition you can script it through Java in the script editor - a little bit messier.

--Borislav

New Member

Re: Launching a new script from a running script in IPCC Express

You can use the "Call Subflow" expression. For example, if you want to set the variable X and Y from two different scripts, it should look like this:

X=Call Subflow ("YourFirstScript.aef",variableX)

Y=Call Subflow ("YourSecondScript.aef",variableY)

Not sure of the layout but it should be possible like that. try to adapt it with your http requests.

cheers.

jp

New Member

Re: Launching a new script from a running script in IPCC Express

I agree with JP on the above post. Call flow you will see input variables and output variables where you can map some variables from one sript calling other script.

We have done that at one of our designing where in one script i was calling other script via "call subflow" and mapping the variables from there.

For Eg i have created variable "X" as string and passing the variable as parameter in main script.

And in sub flow i have Variable "Y" as string and again i am passing the variable as parameter in sub script.

Now if i want to pass my information from X to Y, all i need to do is goto Call subflow input mapping..

under "sources" i need to put "X" and under "subflow destination" i need to put "Y"

It worked for me. I hope you are looking for something like this only.

Else please explain your need.

Thanks,

Daljeet

PS : Please donot forgot to Rate the post if helpfull.

139
Views
0
Helpful
3
Replies