Queue has Items in progress, but while running the process: it says process finished due to no more Transaction data

So I have a process for SAP automation. The process takes a “Invoice file path” as Input.
If the process fails, and I retry the process ( I have set max# of retries to 3).

it gives me this message: image
Although the transaction is still in progress, why is that: image

are you sure your process is using set transaction status activity to set the status to “Failed”?

Robot will pick the items with status “New” or “Failed”. If your previous execution is not updating status, then the status of item will remain “In progress” and robot will never pick that item