I’m having issues with a simple line of relevance that I can’t get working with values that are double digits.
Q: value of setting “CUSTOM_ILMT_SCANGROUP” of client
A: 2
T: 0.126 ms
That’s a value of 2, so my logic is the following:
Q: (exists setting “CUSTOM_ILMT_SCANGROUP” whose (value of it <“15”) of client)
A: False
T: 0.148 ms
If I change to 5 instead of 15 I get true, so it’s only taking the first number of the value - in this case “1” instead of “15”
How can I make it take the full value?
I solved it - just needed to add integer on either side of the values I was comparing…
Q: (value of setting “CUSTOM_ILMT_SCANGROUP” of client as integer) is less than “19” as integer
A: True
T: 0.159 ms
Should be useful for someone else!
gearoid
3
once the first part is cast to integer you can do comparisions with another interger without a cast so:
Q: (value of setting "CUSTOM_ILMT_SCANGROUP" of client as integer) < 19
A: True
2 Likes
@GwyndafDavies
Try to pass integer values without double quotes, it should work.