I have an existing flow which includes multiple document approval steps. Depending on the outcome of each one, the document in question is moved to different folders within the same library.
I'm currently using the Link to item dynamic content piece in the "Item Link" section of the Start and Wait for Approval step.
The first approval step doesn't have a problem, since the document resides in the original folder, however, the document is moved after the first approval. Once the flow reaches the second approval step, the Link to item still points to the original location, thus resulting in a 404 when the approver clicks the link to the document.
I've thought about enabling the Document ID Service on the site collection (we're using Sharepoint Online; the site collection is part of a Hub), but I can't seem to find any information on whether Flow handles persistent/durable/permanent links, or if this is even the best way to go about it.
TLDR: How can I get a link to always point to the document in an approval flow, regardless of where the document lives at the time?