I’m using try and catch activity around a get text activity. So whenever the data is available he will scrape the data, and whenever the data is not available he should skip it. So in current scenario he is skipping the it whenever the data is not available, but copying the previous data as a output. How should I put a blank space whenever there is no data available and also he should not copy the previous data.
Can you do a screenshot of your activities… showing
- where you add data
- condition to skip whenever data is not available
This will help me to better understand the situation and what is missing. Thanks.
Inside the catches “SelectorNotFoundException” you should insert
- Assign activity value of datarow set to empty [assuming you are using Add Datarow activity to a datatable]
- Continue activity to skip add datarow and any activities after it and thus bot execution will jump back to beginning of the loop “for each row in datatable”
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.