I Have a problem in Generic value,
I reading a Excel which has Time Column,
There is an error occur at the time while running,
string converter cannot convert from system.double when i am used read cell activity. So, I changed the data type as Generic and for some other time values the index was outofbound of the array error occurs,
Here i am splitting the time by Hours , Minutes and seconds?
If you need to convert from double to string. to do that follow as below:
yourdouble.tostring or covert.tostring(123453)
This error occurs due to more element in the specified array size. i.e. you have an array of 5 items. (array {1,2,3,4,5}) if you try to get the item from index 10 (array(10)) you will get this error as there is actually only 5 indexes (the max being 4 as arrays start at 0).
Hi,
Thanks for helping
I am working with the same flow, But in the read cell there is an error occurred as string converter cannot convert from system.double, so i changed that output as generic value. but i am having a error as index was outofbound of the array error.
Here i attached the image flow, Based on your condition , I hope this is help to you .
If any thing i understand wrong . can you explain again what do you what ?
Yes, while using read cell activity for some inputs I faced an error string converter cannot convert from system.double , so I changed the output of read cell as Generic value, it worked fine, but some other inputs i am facing index was out-of-bounds of the array error.
Rather than using Read Cell Value activity since you have multiple rows I read the data into datatable and iterated through it to get the values out.
Download and check he workflow once as it’s easy to understand too. Just Change the filepath of Read Range Workbook, and run the flow you will understand.