Changes for page Delete Folder(s)

Last modified by Erik Bakker on 2023/01/31 10:14

From version 22.1
edited by Erik Bakker
on 2022/05/02 09:11
Change comment: There is no comment for this version
To version 30.1
edited by Erik Bakker
on 2022/10/07 15:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -REST - Fire & Forget
1 +Delete Folder(s)
Content
... ... @@ -1,43 +1,30 @@
1 1  {{container}}
2 2  {{container layoutStyle="columns"}}
3 3  (((== About ==
4 -With the help of this store item, you can easily send and/or retrieve data from REST endpoints with the help of eMagiz while caring about the response.
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 REST endpoint using various authentication mechanisms without caring about the response.
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 -
13 13  ==== 2. Keynotes & restrictions====
14 14  
15 -a. Note that you need to select the valid authentication based on the requirement of the external system.
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
16 16  
17 -
18 18  ==== 3. License Information====
19 19  Part of the standard license agreement as agreed upon when using the store for the first time.
20 20  
21 -
22 22  ==== 4. Relevant eMagiz Academy Microlearnings====
23 23  
24 -[[https:~~/~~/emagiz.github.io/docs/microlearning/intermediate-rest-webservice-connectivity-index>>url:https://emagiz.github.io/docs/microlearning/intermediate-rest-webservice-connectivity-index]]
24 +[[Handle Groovy Script>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Data Handling.expert-data-handling-groovy-script.WebHome||target="blank"]]
25 25  
26 +//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 26  
27 -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/?]])))
28 -
29 -
30 -
31 -((((% border="2" cellpadding="10" cellspacing="10" style="width:292px" %)
32 -|=(% style="width: 45px;" %)#|=(% style="width: 241px;" %)Option
33 -|(% style="width:45px" %) a|(% style="width:241px" %) OAuth 2.0 - Authorization Code
34 -|(% style="width:45px" %) b|(% style="width:241px" %) REST - Basic Auth
35 -|(% style="width:45px" %) c|(% style="width:241px" %) REST - Client Certificate
36 -|(% style="width:45px" %) d|(% style="width:241px" %) REST - Header Mapper
37 -|(% style="width:45px" %) e|(% style="width:241px" %) OAuth 2.0 - Client Credentials
38 -|(% style="width:45px" %) f|(% style="width:241px" %) REST - SSL
39 -|(% style="width:45px" %) g|(% style="width:241px" %) Dynamic Token
40 -|(% style="width:45px" %) h|(% style="width:241px" %) No Authentication
41 -)))
28 +((()))
42 42  {{/container}}
43 43  {{/container}}