and this sentence in one rule, and I would like to save the string in the item _name:
rule "Name"
when Item name_01 changed to ON
then
var String _name = "string text..."
logInfo("ExecTest", _name) // Here I check that the String show up properly in Log.
I have saved the ip in the sring _name, but I do not know how to show it in sitemap.
rule "Name"
when
Item name_01 changed to ON
then
val x = "string text..."
logInfo("ExecTest", x) // Here I check that the String show up properly in Log.
_name.postUpdate(x)
end