Working on web Application - Getting capture error

In the normal scenario my logic is working fine but when getting exception scenario then bot throwing the capture error I am using Visible text for scraping then using the variable to get the screen text.

image

In the below scree shot checking whether ID value IsNumeric else throwing an business exception that’s it.

image

Any help would be appreciated here !!

Hello @mittal.abhishek
You can do as below. I believe this is a pdf file.

  1. Use Read PDF activity and get all the data to a string variable.
  2. Use regex to fetch only the ID value.
    3)use IsNumeric(ID.ToString) to check whether the ID is Numeric or not.
  3. use If condition … If true continue the process, else throw exception