Our TRM (Transparent Records Management) results in the creation of shortcuts located in a customer-specified folder structure. If users pull a document from Records for correction, or if a change in document status causes a document to be re-filed elsewhere (eg, a permit is revoked), we move the record and delete the existing shortcuts.
The "Delete Shortcuts" activity is great, but what about the potentially now-empty parent folders of those shortcuts? We come across this scenario often, and finding and deleting parent folders of shortcuts is clunky and awkward. It would be great if the Delete Shortcuts activity had a checkbox option similar to other activities, wherein if the parent folder becomes empty, it can be deleted as well.
EDIT
The attached screenshot shows a portion of a workflow in which a series of records may be moved due to a change in status to an individual's permit records. It shows the numerous steps I have to take in order to identify newly emptied parent folders so that they can be deleted.
If the "Delete Shortcuts" activity could also locate the parent folders, it would save me the use of several tokens and activities.