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.
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.
You can create counter variable on folder and update it on each file process.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.