I would like to occasionally run a workflow at night that would look at the documents in target folders, and delete any shortcuts that are in the same folder as the documents they are pointing to. Not all the shortcuts would have the same name as the documents they reference.
Case scenario: I have a workflow that will put a shortcut in a Roll #'d folder any time someone saves a Roll # in the Roll # field. Most cases that's all I need. In some cases, the document itself needs to be in the Roll # folder. Result is, I have an original and a shortcut in that folder. To make things worse, sometimes people will add the template and field data first, then Save, then Rename! Then I've got the original, plus two shortcuts in one folder!
Trying to get WF to clean these up but can't figure out how to get WF to see the originating document ID and know which shortcuts are to that document. It seems WF can only do this if the names are the same.