This should be easy. I am trying Initialize Variable, type array, with the value ['20191001', '20191005']. It thinks this is a string value. What am I doing wrong?
Solved! Go to Solution.
Hi @akharns,
Please use the double quotes instead of single quotes:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try removing the single quotes around your numbers.
Then I can't force it to see the array elements as strings?
Hi @akharns
You can intialise the array like @ScottShearer mentioned. Later when you want to use these values as string then use the flow expression string function for conversion.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @akharns,
Please use the double quotes instead of single quotes:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
How to loop through an array and access the elements of it ?
Do I have to use a another variable which will store the index ?
I want something like :
for(int i = 0; i < n; i++){
print( array[i]);
}
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
User | Count |
---|---|
32 | |
32 | |
24 | |
24 | |
20 |
User | Count |
---|---|
60 | |
57 | |
43 | |
37 | |
28 |