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

CRA scripts - global variables

Hello, I would like to know if it is possible to make a variable that mantains the value when stops the script, I mean, one call is made and this variable starts with value 0 and when the script is run completely the variable has value 3 and when another call is made instead of having the value 0 for the same variable, I would like that this variable has value 3 as this is the last value that the variable had in the last call. This variable behaves as a global variable not a local variable.

Thank you.

Felipe Garcia

3 REPLIES
Blue

Re: CRA scripts - global variables

I do not believe so. The variables are based each session (call). Maybe you could write the value to the registry (not my favorite solution) and keep track of it there.

My .02 cents

Blue

Re: CRA scripts - global variables

Terrible of me, you may also write the value to a sql table..

My .02 cents

Community Member

Re: CRA scripts - global variables

At which registry do i have to save the value? Is it the one of Windows or is another one? And for the sql how do i save it at the database?

Thank you.

96
Views
0
Helpful
3
Replies
CreatePlease to create content