Using Create Value to store numbers and increment the value
I'm trying to use the Create Value to store a counter variable. No matter what I've tried, I cannot get the value to store a number.
I have also tried Set Property immediately after and it still will not retain the 1 value.
Any ideas?
-
0 -
Hi Paul,
You'll want to use Create Value to initially create the counter, but then use Evaluate Expression to increment it.
Import the attached JSON to see an example.
--Ryan
0 -
Hi Paul,
It works for me the way you've set it. Maybe it's being set correctly, but the part of the workflow that retrieves/shows the value has something wrong? Try importing the attached example in designer and running it in the sandbox.
0 -
Thanks for the help. For whatever reason, WAB requires the "toString()" at the end of the result parameter to work. If I just use result, it displays fine in the sandbox, but not in my WAB app.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare