Data scrapping error handling

how to have error handling doing data scrapping? I may have null data if the screen showing nothing.

Hi @Perri,

Why not trying to surround your Extract Structured Data activity with a Try/Catch activity

Best regards,

1 Like

@Marius_Puscasu’s right! You need to surround your data extraction activity with a try-catch block so if the table you’re extracting is not available, the execution is consumed by the catch block.

Also, does the table always vary by its structure?

Yes, my whole bot in the try catch activity. But I would like to use the throw activity is to check the data scraping whether work. Yes, the data output will be vary.

Okay, in that case, you can check the row count for the DT using an if condition, and if the row count is greater than 1, you can move ahead else throw an error.