Changes for page Delete Folder(s)
Last modified by Erik Bakker on 2023/01/31 10:14
From version 7.1
edited by Erik Bakker
on 2022/04/29 14:02
on 2022/04/29 14:02
Change comment:
There is no comment for this version
To version 25.1
edited by Erik Bakker
on 2022/05/02 09:25
on 2022/05/02 09:25
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 - REST - Fire&Forget1 +Delete Folder(s) - Content
-
... ... @@ -1,53 +1,26 @@ 1 1 {{container}} 2 2 {{container layoutStyle="columns"}} 3 -(((**~1. How to use** 3 +(((== About == 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) 4 4 5 - Withthis storecomponent, you can easily setup a connectionto a REST endpoint using various authentication mechanisms without caring about the response.6 +== Documentation == 6 6 8 +==== 1. How to use==== 7 7 8 -**2. Keynotes & restrictions** 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 +a. The folder name is a date (formatted as yyyy-MM-dd) 12 +b. The folder is older than X days (X is configurable) 9 9 10 - a.Notethatyouneed toselectthevalidauthenticationbased on the requirement of the external system.14 +==== 2. Keynotes & restrictions==== 11 11 16 +a. 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 +b. Best practice is to use a separate flow that governs the deletion of folders within the directory 12 12 13 - **3. License Information**19 +==== 3. License Information==== 14 14 Part of the standard license agreement as agreed upon when using the store for the first time. 15 15 16 - 17 -**4. Relevant eMagiz Academy Microlearnings** 18 - 19 -[[https:~~/~~/emagiz.github.io/docs/microlearning/intermediate-rest-webservice-connectivity-index>>url:https://emagiz.github.io/docs/microlearning/intermediate-rest-webservice-connectivity-index]] 20 - 21 - 22 22 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/?]]))) 23 -((((% border="2" cellpadding="10" cellspacing="10" style="width:345px" %) 24 -|=(% style="width: 339px;" %)Available Store Components 25 -|(% style="width:339px" %)((( 26 -| Test | OAuth 2.0 - Authorization Code (Fire & Forget) 27 -))) 28 -|(% style="width:339px" %)((( 29 -| Test | REST - Basic Auth (Fire & Forget) 30 -))) 31 -|(% style="width:339px" %)((( 32 -| Test | REST - Client Certificate (Fire & Forget) 33 -))) 34 -|(% style="width:339px" %)((( 35 -| Test | REST - Header Mapper (Fire & Forget) 36 -))) 37 -|(% style="width:339px" %)((( 38 -| Test | OAuth 2.0 - Client Credentials (Fire & Forget) 39 -))) 40 -|(% style="width:339px" %)((( 41 -| Test | REST - SSL (Fire & Forget) 42 -))) 43 -|(% style="width:339px" %)((( 44 -REST - Token (Fire & Forget) 45 -))) 46 -|(% style="width:339px" %)((( 47 -| Test | REST - Dynamic Token 48 -))) 49 -|(% style="width:339px" %)((( 50 -| Test | REST - No Authentication (Fire & Forget) 51 -)))))) 23 + 24 +((())) 52 52 {{/container}} 53 53 {{/container}}