Rule Machine generates empty list of devices

As shown below I'm trying to set the value of a hub string variable to a device attribute. However, the Select Device list is never populated. I understand data types would limit my options but there are plenty of devices with string data in them in my environment.

Does anyone know if this is this expected behavior and why?

It has something to do with the ! in your variable name. Not sure what, but that is the cause. I'll investigate why that is... It will work as expected with NextMBFanSpeed, but not with !NextMBFanSpeed.

See below for resolution coming for this in next release.

1 Like

Thank you for the quick response. I just use the ! so all my variables are easily identifiable and grouped together on Sharptools. I’ll try some alternates.

The issue is only with respect to a variable to be used in this way.

I will look into coming up with a fix for it.

This issue has been fixed, and the fix will be in the next release.

5 Likes

FYI that the same issue exists for other characters such as ~ @ and # . May or may not be covered in your fix.

Ah, not too surprised to hear that. Special characters in variable names is problematic, and there is already of list of prohibited characters. In the next major release (2.3.2) this will all be changed and this particular set of problems will go away.

I will add those 3 to the fix.

Probably applies to others as well. I just stopped at that point as $,%,^&* all looked pretty likely to be a problem.

Emoji's FTW!
Emojipedia.org




Um, autocorrect must have stepped in. It should be Emojis FTOCD.

1 Like