selection.filter("node").each(function(e) {
console.log("start");
var so = e.prop("Sistema Operativo");
if (so!=null){
console.log(so);
if (so.indexOf("Window") !== -1 || so.indexOf("window") !== -1){
console.log("Windows");
if (so.indexOf("2003") !== -1) {e.specialization = "Windows Server 2003";}
if (so.indexOf("2008") !== -1) {e.specialization = "Windows Server 2008";}
if (so.indexOf("2012") !== -1) {e.specialization = "Windows Server 2012";}
if (so.indexOf("2016") !== -1) {e.specialization = "Windows Server 2016";}
if (so.indexOf("2019") !== -1) {e.specialization = "Windows Server 2019";}
selection.filter("node").each(function(e) { console.log("start"); var so = e.prop("Sistema Operativo"); if (so!=null){ console.log(so); if (so.indexOf("Window") !== -1 || so.indexOf("window") !== -1){ console.log("Windows"); if (so.indexOf("2003") !== -1) {e.specialization = "Windows Server 2003";} if (so.indexOf("2008") !== -1) {e.specialization = "Windows Server 2008";} if (so.indexOf("2012") !== -1) {e.specialization = "Windows Server 2012";} if (so.indexOf("2016") !== -1) {e.specialization = "Windows Server 2016";} if (so.indexOf("2019") !== -1) {e.specialization = "Windows Server 2019";}
});
Version of jArchi, Operating System
1.1.1.202108181210
Expected Behaviour
specialization is no set.
Actual Behaviour
Steps to Reproduce the Behaviour (with attached test files/script)