Performing dynamic downloads on a table

rpa
issues

#1

Please consider the following use case:

  1. Refer the following table
  2. I would like to download the invoices for which the amount is < 1000$ in a Folder.

Could anyone help me with the approach.


#2

is it the invoiceplane app?

https://invoiceplane.workfusion.com/index.php/invoices/status/all


#3

Yes @azinchuk . I am utilizing this app to understand dynamic working of the tables.


#4

without dynamic XPath it would be hard to do this, maybe only image or coordinate based.

But you can do a hack here:

all the download links have the same pattern: https://invoiceplane.workfusion.com/index.php/invoices/generate_pdf/${invoice_number}

where invoice_number is a text of the 2nd column, which can be obtained as a List in the Web Element action.


#5

your XPath to obtain the list of invoice numbers can look like this one:

//*[@id="filter_results"]/div/table/tbody/tr/td[2]/a