Hey all,
im currently building a flow which compares 2 numbers in a condition.
The flow itself works perfectly if the number is below 10, but if the number is higher than 10 it ignores the "0" and only uses the "1". Same goes for;
20 = 2
30 = 3
...
I don't know if it matters, but here's the value both strings are using to get the numbers;
I would really appreciate if anyone can help me resolving this problem.
Regards,
Snohx
Solved! Go to Solution.
Try to use
less(json(string(first(body('Filter_array_list'))))?['CustomID'],json(string(first(body('Filter_array_Trainings'))))?['Verf_x00fc_gbarePl_x00e4_tze']) is equal to true
in comparison.
If you look at the run history are you sure that both digits of the number are in the JSON source?
I can confirm that bot digits are indeed in the JSON source.
Output SharePoint:
Input filter array:
Output filter array:
Output SharePoint:
Output filter array:
Try to use
less(json(string(first(body('Filter_array_list'))))?['CustomID'],json(string(first(body('Filter_array_Trainings'))))?['Verf_x00fc_gbarePl_x00e4_tze']) is equal to true
in comparison.
I'm not sure if it matters in your case, but one thing I notice is that the numbers for your comparison are stored in strings. Why don't you try adding a "Parse JSON" step and providing it a sample so it can build a schema. You can then examine the output of the Parse JSON step to examine the values at that point. That might give you a clue how to proceed.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
45 | |
42 | |
37 | |
36 | |
23 |
User | Count |
---|---|
44 | |
38 | |
30 | |
28 | |
26 |