How to take next item from excel if UiElement not found and go back to previous activity

I have an use case mentioned :

I have to take data from excel one by one and type into an website form to find information. If information available- do some more form entry and captcha solving to submit.

My questions are below for RE Framework without Queue:

  1. If information not found when searched on the website- where do i modify in REFramework, so it can update the status as - “No Data” and take the next item from excel?
    2- Before submitting the Form, I have used multiple flow decision inside flowchart to solve the math captcha and if captcha condition not matching, then it should reload the search to find another captcha.

Please suggest best approach to use ReFramework!

@Ranjit_Nayak1

You can use set transaction status and update the excel youa re reading there…to know the row number use in_Transactionnumber value

You can as well update the same in process xaml as well or throw a business exception when not found and update the excel in business exception of the process state

Give the steps to navigate back as well in the exception stage

cheers

1 Like

Hi @Ranjit_Nayak1,
for your first point you need to read about business exception in ReFramework and i will leave video for that this will help you in your example to mark transaction item to be failed with business error

and for point number two you can use for each and pass all needed value in IF condition and create another sequence to validate the Captcha as you need and it will done in only one if condition in for Each :slight_smile:
Hopefully i helped you and feel free to update us if you still facing any issue or you need any clarification.