In the Process.xaml, we are asked to make a flow decision with the method ‘Double.TryParse’. This method returns a true or false depending on whether it is possible to parse the string to double or not.
It also needs a double variable, which is used in the next flow decision to know if ‘CashIn’ is greater than 1000 or not. But the TryParse method is not giving any value to the double, having the default one, 0. So in the next flow decision, every number is lower than 1000, even the ones that aren’t.
I’ve made a Double.Parse in that flow decision in order to make it work correctly, but I don’t know id is the right solution.