Repeat certain commands until a certain point, then other command

Hi guys,

I am trying to download CSV files from emails to a certain folder and then delete emails (Gmail). How do I create a Command that repeats commands 3 to 10 until this message is shown “There are no conversations with this label.”?

When that message is shown, how do I direct RPA to the folder with CSV files?

I am guessing it is something repeatIf Else function, but cannot wrap my head around it

Here is how I would do it:

  • store | !errorIgnore | true
  • repeatIf | !statusOK == true
    …do delete stuff here. If no more email, then the CLICK command will fail (XPath not found error) and !statusOK becomes false. This breaks the loop.
  • end
1 Like