I am reading a string from the screen, and using split string i divided the string.
“LU - LUXEMBOURG”
using split string and delimiter as " - " which results in LU and LUXEMBOURG. I want to use the second string. So as you mentioned above i assigned riskgeo(1).tostring to a variable.
But, this is not working fine at times and getting the below mentioned error in the workflow. If I run the same workflow again without any changes, it works fine.
Just make sure the data is not empty. so may be get text is not able to get data everytime may be page load uncomplete or internet slow connection. use write line to check data is coming or not and put conditions before it to make sure no error as @vvaidya mentioned.
Even we are facing same issue. The workflows developed in older versions of UiPath & opened in newer versions, which is showing error in existing activities position even though activity is already imported and available in activities pane. Let us know how to eliminate this error .