Hi, Can you try the below code once? var id = []
var res = query.getElementsByTagName("{{schema name}}")
for each (var w in res){
id.push("'"+w.getAttribute("attribute name")+"'");
}
vars.idArray = id.join(",").slice(1,-1);
logInfo(vars.idArray); if it is a string that is in filter criteria should ...