NICHE IF/ELSE Condition

Hello RPA Community!

I am currently having trouble with building a condition with 3 variables.

  1. No results were found (NoTreffer)
  2. 1 Result was found
  3. Several results were found (Viele Treffer)

My problem is here that I am not working with numbers or text boxes, but with “Element Exist” (images) and the activity I need to produce is Data Extraction.

image

Help would be greatly appreciated!

@bryan.perez
welcome to the forum

Your question what is needed on help / not working is not fully clear.

Maybe you can share the URL with us so we can crosscheck as well.

In general we would suggest not to go in too much nested IF / else branches. In such cases we can alternate implement like:

Calculate the scenario / branch (1, kein, viele Treffer)
use switch activity and then jump to the dedicated implementation within the corresponding case

Hi There:

This is the URL of the Single Exception.
Somehow it is also not possible to extract data from a single result, as the rpa cannot builda pattern

https://www.ris.bka.gv.at/eli/bgbl/I/2021/133/20210709?Abfrage=BgblAuth&Titel=&Bgblnummer=&SucheNachGesetzen=False&SucheNachKundmachungen=False&SucheNachVerordnungen=False&SucheNachSonstiges=False&SucheNachTeil1=False&SucheNachTeil2=False&SucheNachTeil3=False&Einbringer=&VonDatum=09.07.2021&BisDatum=10.07.2021&ImRisSeitVonDatum=09.07.2021&ImRisSeitBisDatum=10.07.2021&ImRisSeit=Undefined&ResultPageSize=100&Suchworte=&Position=1&SkipToDocumentPage=true&ResultFunctionToken=e4ba7709-c7e0-4f24-bc0d-c7176d8cf944