Skip to content

Instantly share code, notes, and snippets.

@CastenettoA
Last active May 21, 2026 09:09
Show Gist options
  • Select an option

  • Save CastenettoA/105b0ec78cbb4aff31c0ff9e14ac61b5 to your computer and use it in GitHub Desktop.

Select an option

Save CastenettoA/105b0ec78cbb4aff31c0ff9e14ac61b5 to your computer and use it in GitHub Desktop.
Come recuperare una singola variabile in una script task iterop
// ottengo variabili di ambiente
var id = list.getIdListByName("variabili-json", true);
var variabili = JSON.parse(list.getElements(id));
// utilizzo una variabile di ambiente direttamente
var idFileAppalti = variabili.patternExcel.patternAppalti; // es. 5C386D09EC33...
// oppure la salvo per utilizzarla successivamente
io.set("nomeVariabile", variabili.patternExcel.patternAppalti);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment