Currently I have a dynamic variable InvoiceID that contains the id of an invoice and I have the invoices in pdf that their names are for example:
9091 UDA 877987.pdf where the last 6 digits are the InvoiceID.
How can I move this document to another folder only when its ending is the ID that I have in my variable?