Why i have : Throw Input Data Invalid plz?

Double.TryParse(CashIn,dbl_CashIn) And Double.TryParse(OnUsCheck,dbl_OnUsCheck) And Double.TryParse(NotOnUsCheck,dbl_NotOnUsCheck)

Its expected flow to throw the exception bcoz you have that in your flow. this condition is evaluating to false so its fine. :slight_smile:

1 Like

@nadim.warsi’s right! :slight_smile:

The flow is throwing an error because it is designed to.

Also, check if the output variables are of type double so we can make sure that the conversion happens without any problems and it proceeds to the next step without throwing an error.

I think its good :

but what throw means exactly ?

see here:

You are performing certain conversions in the flow decision activity, right?

This returns a boolean condition.

Since your condition fails, it throws an error and stops the process. If you select run instead of debug, your process won’t stop.

You can learn more about throw here: How to use Throw and ReThrow

Ah okey, but i don’t have Try Catch activity, this is the problem ?

That’s up to you to choose.

Don’t really understand, i am using output variables with double type as u said, so why i have an error ?

Maybe the conversion isn’t happening properly, check if the input variables are not empty.

which conversion are you talking about plz ?

The condition indicates whether the conversion succeeded or failed for converting your variable CashIn to double .
If its false for any of the 3 variables the outcome of this check is false.
Debug and check values of each and see what is the cause of false outcome.

Your variables as i see are all null is there any reason. Is your input set properly to get those values?

Share your project please :slight_smile: let us have a look. Add your excel as well.

TEST ADVANCE EXO1.zip (174.0 KB)

is it ok for you ? @nadim.warsi

1 Like

So your flowchart is not correct.
You need to create 2 processes, one which writes/adds item to the queue (this is working fine when you run the Processcomplete.xaml)

You then need to make another sequence which reads from the queue and then your condition takes place which is the last part of your workflow.

Please follow the documentation sequentially.

don’t know how to do that plz