Robot task
take items from a excel file and inserts them into a webbased management tool. And this way update data.
task in scope
it might occur that a project item exists twice in the management tool. In this case the robot should not do anything in the management tool, but note down the project in a log message and continue with the next.
My problem
I am not sure how to let the robot check if there are more then one hits on the page.
You can try with the Data Scraping wizard to get all the rows from that table. Then you can count how many you have with that name. If more than 1, log the message and continue with the next item from excel.
This is a good case to use the Robotic Enterprise Framework (or ReFramework) project type. Part of the process implementation, when you are in the case of more than 1 rows, throw a BusinessRuleException and the framework will handle it for you: log the message and continue with next item from excel. Of course, you need to do more changes to integrate your process into the ReFramework, but it is very useful.
Extra Note to for Silviu
Ps: Silviu, thank you for the tip with ReFramework ^^ I build my program in StateMachines due to the Adv. Training. Is ReFramework the template or the approach (using state machines)?