Create a rule in console triggered by Item string value

The rule trigger on item state change is quite robust with the UI rules so the problem lies somewhere with your system or configuration.

Note: Your java version is not recommended, although I don’t think that’s the issue here,as I don’t believe that this is one of the known issues with it.

There’s a lot of information missing here that will help us find the problem for you:

  1. Log files: right now we have to take your word that the problem is that rule doesn’t trigger, but it might help if you show us the OH logs from when your item changes state. Are there errors? Does the rule actually run but fail to do what you are expecting? Have you tried a version of the rule with a simple action to test if the problem is the trigger or your “song and dance”?
  2. The actual rule code: the few trigger lines that you’ve included look fine but there’s much more to the rule than that and we can’t know if the problem is somewhere else if we can’t see it.
  3. The full item definition: I assume you are saying that the rule works when it was a text based rule just not with the UI so the item definition should be correct, but it doesn’t take too much extra effort to give us that too just in case there’s something there.

Lastly, just to make everybody’s life easier, please use code fences when posting any sort of logs or code or it’s just too hard to see what’s going on: