You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Feature Request: Delete Empty Parent Folder for shortcuts (Workflow)

posted on May 11, 2018 Show version history

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.

Delete Shortcuts LF.png

1 0
replied on September 7, 2018

I am having this exact same problem right now!  I can't seem to get it to recognize that I want the folder deleted.  I know I can get it to find the parent folder and identify documents in that folder.  My delete folder activity's condition is based on if the Search activity finding zero documents in the target folder and yet when I tell it to delete that exact same folder, it says No Entry was Found!!

0 0
replied on May 17, 2018

Hi Sean,

The "Delete Entry" activity within Workflow has the option to only delete empty folders which will serve the need you described. 

Please see documentation here: https://www.laserfiche.com/support/webhelp/Laserfiche/10/en-US/administration/#../Subsystems/LFWorkflow/Content/Resources/Activities/Delete%20Entry.htm

0 0
replied on May 18, 2018 Show version history

Thanks for replying,

 

I am aware of the "only delete empty folders" option, and make regular use of it.  The problem lies in identifying the parent folders so they can be deleted.  I have edited my original post to include a screenshot and more detailed explanation.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.