I need to create a string of zeroes of X length.
I know the value of X (it is either 1, 2, 3, 4 or 5). How do I essentially run the Append to Variable a set number of times in my flow?
Solved! Go to Solution.
@Anonymous
Here are two ways of accomplishing your goal.
First I use a simple expression. A start with a string of a bunch of zeros and take a number of characters based on your X value.
In my second example, I use a counter and loop X number of times while appending zeros to a string:
Please let me know if either of these works for you.
@Anonymous
Here are two ways of accomplishing your goal.
First I use a simple expression. A start with a string of a bunch of zeros and take a number of characters based on your X value.
In my second example, I use a counter and loop X number of times while appending zeros to a string:
Please let me know if either of these works for you.
Thanks Scott. I had thought of the second approach but it seemed overly complex.
Your first solution was perfect.
thank you!
User | Count |
---|---|
25 | |
14 | |
12 | |
10 | |
9 |
User | Count |
---|---|
51 | |
29 | |
28 | |
24 | |
22 |