cancel
Showing results for 
Search instead for 
Did you mean: 

Bmue Prism version 7__Expression is invalid

SaharSalehi
Level 3

How could it be possible to have an error while others with the same code have no error?

Now()+ MakeTimeSpan(0,0,5,0) 

The following error has occurred:
Your expression does not appear to be valid: 

Could not convert '0,000,500,0' into a number

33644.png Thank you!



------------------------------
sahar Salehi
------------------------------
1 BEST ANSWER

Helpful Answers

John__Carter
Staff
Staff

Hi Sahar - as crazy as this sounds, can you try again with spaces on both sides of the commas, ie MakeTimeSpan(0 , 0 , 5 , 0)

I've had a similar sounding issue where an expression was being parsed strangely, and I think it was due to the locale/number/regional/language Windows settings of the machine. I'm struggling to remember exactly what it was unfortunately, but try comparing how a 'good' and 'bad' machine is set up.



------------------------------
John Carter
Blue Prism
------------------------------

View answer in original post

5 REPLIES 5

John__Carter
Staff
Staff

Hi Sahar - as crazy as this sounds, can you try again with spaces on both sides of the commas, ie MakeTimeSpan(0 , 0 , 5 , 0)

I've had a similar sounding issue where an expression was being parsed strangely, and I think it was due to the locale/number/regional/language Windows settings of the machine. I'm struggling to remember exactly what it was unfortunately, but try comparing how a 'good' and 'bad' machine is set up.



------------------------------
John Carter
Blue Prism
------------------------------

Hello,

What is the format of the data item? When I changed it to Datetime, no error occurred:

Scenario 01:

33633.png

Scenario 2:

33634.png

Regards,



------------------------------
Leonardo Soares
RPA Developer Tech Leader
Bridge Consulting
América/Brazil
------------------------------

Leonardo Soares RPA Developer América/Brazil

is working! many thanks



------------------------------
sahar Salehi
------------------------------

Many thanks Leonardo! It is working now. 33637.png



------------------------------
sahar Salehi
------------------------------

I have been struggling for hours trying to find a solution to this issue.
Adding a space on either side of the commas worked.

Why are inputs not parsed before hand!?
Instead I had to spend hours reading forum posts to find the answer!

It's reasons like the above that I would not recommend Blue Prism to other developers..
Get your house in order.



------------------------------
Dane Ryan
------------------------------