Changes for page Delete Folder(s)
Last modified by Erik Bakker on 2023/01/31 10:14
From version 24.1
edited by Erik Bakker
on 2022/05/02 09:23
on 2022/05/02 09:23
Change comment:
There is no comment for this version
To version 31.1
edited by Erik Bakker
on 2023/01/31 10:14
on 2023/01/31 10:14
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - FileOutbound1 +Delete Folder(s) - Content
-
... ... @@ -1,17 +1,20 @@ 1 1 {{container}} 2 2 {{container layoutStyle="columns"}} 3 3 (((== About == 4 -With the help of this store item, you can e asily write filesto alocal(i.e. withinyournetwork)directorywiththe helpofMagiz.4 +With the help of this store item, you can delete folders from a specific directory. This process is triggered with the help of a Groovy script that looks for folders that adhere to certain criteria (in this case that the folder name is a date) 5 5 6 6 == Documentation == 7 7 8 8 ==== 1. How to use==== 9 9 10 -With this store component, you can easily set up a connection to a local (i.e. within your network) directory to write data to that directory. Within this store component, we have gathered multiple variants of writing data to a local directory. You can browse them to select the one that best suits your needs. 10 +Once activated this Groovy script will automatically delete all folders that pass the criteria. In the store item the criteria are as follows: 11 +* The folder name is a date (formatted as yyyy-MM-dd) 12 +* The folder is older than X days (X is configurable) 11 11 12 12 ==== 2. Keynotes & restrictions==== 13 13 14 -a. Note that the eMagiz user has to have sufficient rights on the local directory to read and delete files. 16 +* Note that you should think about how long you want to retain the files within the folders and when to throw away the folder 17 +* Best practice is to use a separate flow that governs the deletion of folders within the directory 15 15 16 16 ==== 3. License Information==== 17 17 Part of the standard license agreement as agreed upon when using the store for the first time. ... ... @@ -18,15 +18,10 @@ 18 18 19 19 ==== 4. Relevant eMagiz Academy Microlearnings==== 20 20 21 -[[https:~~/~~/emagiz.github.io/docs/microlearning/novice-file-based-connectivity-index>>url:https://emagiz.github.io/docs/microlearning/novice-file-based-connectivity-index]] 22 -[[https:~~/~~/emagiz.github.io/docs/microlearning/crashcourse-messaging-drop-files>>url:https://emagiz.github.io/docs/microlearning/crashcourse-messaging-drop-files]] 24 +[[Handle Groovy Script>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Data Handling.expert-data-handling-groovy-script||target="blank"]] 23 23 24 -Would you please consult the privacy policy of eMagiz at the following link : [[https:~~/~~/www.emagiz.com/privacy-policy/?>>url:https://www.emagiz.com/privacy-policy/?]])))26 +//Would you please consult the privacy policy of eMagiz at the following [[link>>https://www.emagiz.com/privacy-policy/||target="blank"]]))) 25 25 26 -((((% border="2" cellpadding="10" cellspacing="10" style="width:292px" %) 27 -|=(% style="width: 45px;" %)#|=(% style="width: 241px;" %)Option 28 -|(% style="width:45px" %) a|(% style="width:241px" %) File Name 29 -|(% style="width:45px" %) b|(% style="width:241px" %) First Line 30 -))) 28 +((())) 31 31 {{/container}} 32 32 {{/container}}