I could reduce the problem to follwoing code:
homeControl.items:
Group gHealth_SW
Switch Health_SW01 “Health SW01 [MAP(switch.map):%s]” (gHealth_SW)
Switch Health_SW02 “Health SW02 [MAP(switch.map):%s]” (gHealth_SW)
Switch Health_SW04 “Health SW04 [MAP(switch.map):%s]” (gHealth_SW)
Switch Health_SW09 “Health SW09 [MAP(switch.map):%s]” (gHealth_SW)
rule:
gHealth_SW.members.forEach[actSW |
logInfo("check_Status_SW","SW - " + actSW.name + " / " + actSW.label) //ok
actSW.label="xxx" //error
]