I’ve got a list of ID numbers that I need to enter in a Citrix-based system and scrape the data that is returned.
I use the “read csv” activity that contains the ID numbers to load them into a DataTable.
I then use “for each row” to type the ID number into the Citrix system, choose the file to open, open the file and scrape the data I need.
My issue is that some of the ID numbers do not return any documents, and instead return a message “Document not found”. My goal is to recognize when this occurs and just move onto the next row/ID number with out trying to scrape anything.
I’m trying to do this using the “Image exists” activity followed by an “If” activity. The “if” activity enables me to define two activities, one “Then” if the “document not found” image exists and “Else” if it does not.
I cannot figure out what to put in these activity boxes to make my flow work correctly.
Can anyone give some advice on if this is possible or if I need to use some other activity to achieve this?