Can we assign a variable to another variable?

Is it possible to assign a variable to another variable? I tried changing the variable to "=variableName", "=[variableName]", and "={variableName}" but none of them seem to work (the first two literally set the variable to the string "variableName" and "{variableName}" respectively, while the last one makes the variable empty. Assuming this is not possible at present, it would be very helpful to have this capability.

Asked by Anonymous on June 24, 2019, at 9:55am

Hi, currently this is not possible but is something I can add. I've put it on my to-do list, and should be able to have this live in about a week. I'll reply back here when it's available.

Hi Derek,

I appreciate all the work you have done on this. I'm guessing the feature request list is super long and that this hasn't risen to the top of the heap yet?

Hello, apologies for the delay. This is now live.

To use the value of another variable, enclose the name of the variable in square brackets - for example +[people_at_home].

You can read more about this new feature in the docs.

Seems to be working great. Thanks!

Post a reply

The SEQUEmatic bot is still new and learning. If you don't get the answer you need, just ask to speak with Derek and your chat will be transferred.