Syntax Help: groovy.lang.MissingMethodException: No signature of method: java.lang.String.active() is applicable for argument types: () values: []

This idea from @tgauchat may work

try

settings."${deviceName}".active()
1 Like