OS info
- Operating System : Windows 10.0.19043
- Wappler Version : 4.0.1
Problem description
Set Value action’s values concatenate instead of adding
Steps to reproduce
-
Create a Server Action and select a Set Value action and name it ‘value1’. Set it’s value to 1 and Data Type of Number and check the Output checkbox
-
Select another Set Value action and name it ‘value2’. Set it’s value to the previous Set Value action’s value (value1) plus 1 and Data Type of Number and check the Output checkbox
-
Run the action. There doesn’t seem to be any way to do any math on the values. value1 should be 1 (and it is) and value2 should be 2 (1 + 1), but it’s 11 instead.
Using the pencil editor to change it to:
Will not save. It reverts it back to a concatenation: