Forum Discussion
Why can't i use the "add" function for a variable?
Hey,
I'm trying to figure out how someone is creating a trigger that adds a number to a variable. When I try to do it however, I am not given the option "add". Instead, I'm only given the option "set." What the heck is going on? I've attached screenshots.
- BobStrykerCommunity Member
Hi Susan,
Make sure the variable you want to add to is a number type. One indication you're only seeing "Set" may be because the variable you are trying to add to is a text type.
Hope that's it!
Bob
- SusanJaquesCommunity Member
Hey Bob,
I feel like a fool. I had thought for sure I'd checked and made sure it was a number, but you were absolutely right, it was set as a text.
- JudyNolletSuper Hero
Quick note for others who might find this post. Even with a number variable, the default trigger adjustment is to Set the variable to a specific value.
However, if you click Set in the Trigger Wizard, you'll see the options for math operations (Add, Subtract, Multiply, Divide).