cancel
Showing results for 
Search instead for 
Did you mean: 

Global variable for a folder

mihai_bee
Champ in-the-making
Champ in-the-making

I am trying to make a script that will executes in a folder and creates an issue for all files from folder. I want to run the first 20 files from folder and for this  i want to make a global variable that increments when a  script is executing for a file.

2 REPLIES 2

cristinamr
World-Class Innovator
World-Class Innovator

Uhmm I am not so sure if I've understood well your needs but you can send in your webscript's url an argument with a value. In your script you can take it and increment this number.

Please check documentation page. You have an example here (blog search section, for example).

Is this helping you?

Cheers,

Cris.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

sanjaybandhniya
Elite Collaborator
Elite Collaborator

You can create counter variable on folder and update it on each file process.