This object is in archive! 

Comparing strings in rule creator

Theo Koster shared this idea 4 years ago
Completed

In creating a rule I would like to have something like an old fashioned procedure call with parameters. ZIpato being a low code environment, does not allow that I think, fair enough. So my workaround is to use a virtual device, and switch on/off the virtual device from other rules. That works. For the parameter part, I defined a variable. I want to assing a string value to the parameter e.g. Set Variable "MyVariable" to "MyParam". My param is a string, not a number. So far so good, that works. However when I want to compare the variable "MyVariable" to a string to determine the action to be taken, I get a failure when saving the rule that string compare is not possible. When I use numbers instead of strings this principle works, however to make the code more readable I would like to use strings.

Is is possible to do a string compare in zipato somehow ?

Leave a Comment
 
Attach a file