diff --git a/Training/Corrigés/D-Switch Client_Correction/D07-Intégration aux flux C/D-06a - Tri fichier.xml b/Training/Corrigés/D-Switch Client_Correction/D07-Intégration aux flux C/D-06a - Tri fichier.xml new file mode 100644 index 0000000..1d743a8 --- /dev/null +++ b/Training/Corrigés/D-Switch Client_Correction/D07-Intégration aux flux C/D-06a - Tri fichier.xml @@ -0,0 +1,719 @@ + + +
+ + D-06a - Tri fichier + Flow + Objectifs : +- +- + +Objectifs bonus : +- +- + +Nouveaux éléments : +- +- + + D-06a - Tri fichier + 258 + No + 30 + + E:/BlueWest/05-Formation/SWITCH/gabarit header/D/D7.png + Green flag + No + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + 75 + +
+ + + RecycleBin + consumer + Move + Yes + Recycle bin is a flow element that deletes the jobs that come in. + Tools + 0800000000 + trash can remove delete + 4-Corbeille + + #automanaged# + 0 + 0 + 24 + No + Yes + 704 + 416 + + + + + + Folder + folder + 5-test file + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + Yellow + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 560 + 480 + + + + + + Unarchive + processor + Move + 4-Désarchiver + + 424 + 416 + + Default + Default + Yes + One + + No + + + + + Ungroup job + processor + Move + 4-Dégrouper + + 424 + 552 + + Default + Default + 0 + Default + Yes + One + Ungroup + + + + + Rename job + processor + Move + 4-_Original + + 424 + 616 + + Default + Default + 0 + Default + Yes + One + All jobs + No + Original + Leave alone + 1 + Add suffix after filename proper + _count + Add suffix + Filename proper + + _original + 1 + 0 + + + + Local8bit + Underscore + + <ValueDescription Type="regexp"><Value>\d+$</Value></ValueDescription> + 3 + None + Filename proper + + + 1 + 0 + + + + Local8bit + Underscore + + <ValueDescription Type="regexp"><Value>\d+$</Value></ValueDescription> + 3 + None + Filename proper + + + 1 + 0 + + + + Local8bit + Underscore + + <ValueDescription Type="regexp"><Value>\d+$</Value></ValueDescription> + 3 + None + Filename proper + + + 1 + 0 + + + + Local8bit + Underscore + + <ValueDescription Type="regexp"><Value>\d+$</Value></ValueDescription> + 3 + None + Filename proper + + + 1 + 0 + + + + Local8bit + Underscore + + <ValueDescription Type="regexp"><Value>\d+$</Value></ValueDescription> + 3 + + + + + Folder + folder + 3-Boucle + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 336 + 480 + + + + + + Folder + folder + 2 + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 248 + 480 + + + + + + ProblemFilesFolder + producer + Filter + One + Travaux à problème + + This flow only + Default + 10 + 10 + 56 + 416 + + + + + + Filter + jobFolder + + -90 + 183 + 176 + Green + No + <ValueDescription Type="types"> + <Value patterns="Job Folder">Job Folder</Value> +</ValueDescription> + + No Files + + + + + Filter + pdf, no job folder + + -90 + 183 + 253 + Green + No + <ValueDescription Type="types"> + <Value patterns="*.pdf">Adobe PDF (*.pdf)</Value> +</ValueDescription> + + <ValueDescription Type="types"> + <Value patterns="Job Folder">Job Folder</Value> +</ValueDescription> + + + + + + Filter + zip, no job folder + + -90 + 183 + 187 + Green + No + <ValueDescription Type="types"> + <Value patterns="*.zip">ZIP (*.zip)</Value> +</ValueDescription> + + <ValueDescription Type="types"> + <Value patterns="Job Folder">Job Folder</Value> +</ValueDescription> + + + + + + Filter + Tous les autres + + -90 + 183 + 185 + #ff0000 + No + All Other Files + No Files + + + + + Move + + + 90 + 187 + 169 + Gray + No + + + + + Move + + + 90 + 176 + 169 + Gray + No + + + + + Move + + + 0 + 175 + 229 + Gray + No + + + + + Filter + + + 0 + 169 + 183 + Gray + No + All Files + No Files + + + + + Filter + + + 0 + 173 + 169 + Gray + No + All Files + No Files + + + + + Filter + + + -90 + 173 + 175 + Gray + No + All Files + No Files + + + + + Folder + folder + 5 + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 560 + 616 + + + + + + Filter + + + 0 + 229 + 255 + Gray + No + All Files + No Files + + + + + FlowLinksSend + processor + Move + D-06b - Renommer + + 704 + 480 + + Default + Default + Yes + No + D-06b - Renommer + Don't add metadata + Masterdata + // Lines starting with a double slash like this line are considered general comments and are ignored. + +// In the following line a data map is done with "TagName1" is name of the Private Data or XML dataset tag and "TagValue1" as value +TagName1=TagValue1 + +// The following line has a comment which will be added to the XML dataset. It can be used to add extra info, by example if the info map contains a dimension the comment can explain the unit of the dimension +TagName2=TagValue2// This comment will be added to the XML dataset. + +// The following lines show how nested values can be created in an XML dataset. +ParentTag.ChildTag1=TagValue3 +ParentTag.ChildTag2=TagValue4 + + + + + FlowLinksSend + processor + Move + D-06d - Archive + + 704 + 616 + + Default + Default + Yes + No + D-06d - Archive + Don't add metadata + Masterdata + // Lines starting with a double slash like this line are considered general comments and are ignored. + +// In the following line a data map is done with "TagName1" is name of the Private Data or XML dataset tag and "TagValue1" as value +TagName1=TagValue1 + +// The following line has a comment which will be added to the XML dataset. It can be used to add extra info, by example if the info map contains a dimension the comment can explain the unit of the dimension +TagName2=TagValue2// This comment will be added to the XML dataset. + +// The following lines show how nested values can be created in an XML dataset. +ParentTag.ChildTag1=TagValue3 +ParentTag.ChildTag2=TagValue4 + + + + + SubmitPoint + producer + Filter + Unlimited + Point d'envoi 1 + + #automanaged# + Default + + + + No + No + No + No + + Job and metadata + Files and folders + + + + 2021-02-22 + Numérique + No + + + + 0 + +]]> + Submit + Yes + + No + 56 + 480 + + SwitchClient + + + + + Folder + folder + 1-State + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + Cyan + No + No + + + + + [Metadata.Text:Path="/field-list/field[tag='Date de livraison']/value",Dataset="Submit",Model="XML"] + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 144 + 480 + + + + + + Filter + + + 0 + 85 + 54 + Gray + No + All Files + No Files + + + + + Filter + + + 0 + 54 + 173 + Gray + No + All Files + No Files + + +