Villiere_00-A manuel
Flow
Créé à 11/04/2025 12:03
Villiere_00-A manuel
679
No
41
D:/Enfocus/Enfocus Switch Dataroot/PropertySets/30/Grille Switch_2.png
No
No
00:00
00:00
No
Monday
Sunday
No
1
Start of the month
58
FlowLinksSend
processor
Move
Villiere_00-A manuel
1136
224
Default
Default
Yes
No
Villiere_00-A manuel
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
Folder
folder
datamapper
#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
656
224
DataMapper
processor
Move
Data Mapper
560
224
Default
Default
0
0
Yes
One
XML Dataset and Private Data
Masterdata
input=[Switch.FlowName]
Dossier=[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Dossier']/value"]
Client=[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Client']/value"]
Email=[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Validation auto']/field-list/field[tag='Email']/value"]
Quantite=[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Quantite']/value"]
Impression=[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Impression']/value"]
Papier=[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Impression']/field-list/field[tag='Papier']/value"]
Type=[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Produit']/value"]
BAT=[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Validation auto']/value"]
GED=[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Code client']/value"]
Recto-verso=[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Recto-Verso']/value"]
Pages=[Stats.NumberOfPages]
Largeur=[Switch.Calculation:Expression="round([Stats.TrimBoxWidth]/72*25.4*10)/10"]
Hauteur=[Switch.Calculation:Expression="round([Stats.TrimBoxHeight]/72*25.4*10)/10"]
Nom=
Civilite =
Mois =
Annee =
NombreProduitsTotal=1
NombreProduitsPrint=1
NumeroProduit=1
Folder
folder
-
#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
368
224
history
processor
TrafficLight
History
320
144
Default
Default
Yes
Unlimited
Current
history
No
JSON
Semicolon
Folder
folder
input
#automanaged#
No
Default
No
00:00
00:00
No
Monday
Sunday
No
1
Start of the month
Blue
No
No
input=01_FLOW_prepresse_input
Yes
Yes
Overwrite
1
No
No Folders
No
176
224
Move
90
297
298
Gray
No
Filter
-90
308
645
Gray
No
All Files
No Files
TrafficLight
90
307
308
Gray
Data
Log
No
Yes
Filter
0
2
650
Gray
No
All Files
No Files
SubmitPoint
producer
Filter
Unlimited
Villiere_00-A envoi fichier
Villiere_00-A manuel
#automanaged#
Default
No
No
No
No
Job and metadata
Files only
<ValueDescription Type="stringlist">
<Value>pdf</Value>
</ValueDescription>
Yes
]]>
Submit
Yes
No
80
224
SwitchClient
Filter
0
290
2
Gray
No
All Files
No Files
Folder
folder
Packed job
#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
176
464
Pack job
processor
Move
pack
176
384
Default
Default
0
Default
Yes
Unlimited
Yes
Yes
Yes
Folder
folder
Unpack
#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
272
464
Folder
folder
-
#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
176
304
Unpack job
processor
TrafficLight
unpack
272
384
Default
Default
0
Default
Yes
Unlimited
Yes
Restore and replace
Restore and replace
No
5
Move
0
519
524
Gray
No
Filter
0
526
520
Gray
No
All Files
No Files
Filter
0
521
519
Gray
No
All Files
No Files
priorityHelper
processor
Move
Priority Helper
416
304
Default
Default
Yes
Unlimited
1
First In, First Out
2023-01-01T00:00:00
Second
Folder
folder
-
#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
464
224
Move
90
645
646
Gray
No
Filter
0
646
297
Gray
No
All Files
No Files
Folder
folder
-
#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
272
224
Filter
-90
650
307
Gray
No
All Files
No Files
TrafficLight
0
520
650
Gray
Data
Log
No
Yes
Yes
Filter
0
2
521
Gray
No
All Files
No Files
ProblemFilesFolder
producer
Filter
One
Travaux à problème
This flow only
Default
10
10
80
144
fastlane
processor
TrafficLight
FastLane
656
384
Default
Default
Yes
Unlimited
Extract information
FastLane
Query presets
<</Type /Font /__font_info__
<< /__embed_state__ {embedstate}
/__embed_opentype__ {embedopentype}
/__font_name__ {fontname}
/__font_type__ {fonttype}
>>
>>
{
"FontCount" : {__num_instances__},
"Fonts" :
{
"FontName" : {fontname},
"FontType" : {fonttype},
"FontEmbedState" : {embedstate},
"EmbedOpenType" : {embedopentype}
}
}
No
No
mm
Coordinates
No
No
No
Yes
Document colors
No
Yes
No
No
No
No
Collect everything in a job folder
DataMapper
processor
Move
CMJN_Pantone
752
304
Default
Default
0
0
Yes
One
XML Dataset and Private Data
Masterdata
Couleur.type=CMJN_Pantone
Couleur.recto.type=CMJN_Pantone
Couleur.verso.type=CMJN_Pantone
Couleur.recto.quantite
// Your imports here
async function getColorList(job: Job, numberOfColor: number): Promise<string[]> {
const colorList = [];
for (let i = 0; i < numberOfColor; i++) {
const color = await job.getVariableAsString(`[Metadata.Text:Dataset="FastLane",Model="JSON",Path="/FastLane/Colors/DocumentColors/Colorants/${i}"]`);
switch (color) {
case "All":
case "Red":
case "Green":
case "Blue":
break;
case "Black":
colorList.push("Noir");
break;
case "Yellow":
colorList.push("Jaune");
break;
default:
colorList.push(color)
}
}
return colorList;
}
// Do not remove calculateScriptExpression function. It must return a promise to the property value.
async function calculateScriptExpression(s: Switch, flowElement: FlowElement, job: Job): Promise<number> {
try {
const quantity = await job.getVariableAsString(`[Metadata.Text:Dataset="FastLane",Model="JSON",Path="/FastLane/ColorCount"]`);
const colorList = await getColorList(job, quantity)
return colorList.length
} catch (e) {
return e;
}
}
]]>
Couleur.recto.liste
// Your imports here
async function getColorList(job: Job, numberOfColor: number): Promise<string[]> {
const colorList = [];
for (let i = 0; i < numberOfColor; i++) {
const color = await job.getVariableAsString(`[Metadata.Text:Dataset="FastLane",Model="JSON",Path="/FastLane/Colors/DocumentColors/Colorants/${i}"]`);
switch (color) {
case "All":
case "Red":
case "Green":
case "Blue":
break;
case "Black":
colorList.push("Noir");
break;
case "Yellow":
colorList.push("Jaune");
break;
default:
colorList.push(color)
}
}
return colorList;
}
// Do not remove calculateScriptExpression function. It must return a promise to the property value.
async function calculateScriptExpression(s: Switch, flowElement: FlowElement, job: Job): Promise<string> {
try {
const quantity = await job.getVariableAsString(`[Metadata.Text:Dataset="FastLane",Model="JSON",Path="/FastLane/ColorCount"]`);
const colorList = await getColorList(job, quantity)
return colorList.join(';')
} catch (e) {
return e;
}
}
]]>
Couleur.verso.quantite
// Your imports here
async function getColorList(job: Job, numberOfColor: number): Promise<string[]> {
const colorList = [];
for (let i = 0; i < numberOfColor; i++) {
const color = await job.getVariableAsString(`[Metadata.Text:Dataset="FastLane",Model="JSON",Path="/FastLane/Colors/DocumentColors/Colorants/${i}"]`);
switch (color) {
case "All":
case "Red":
case "Green":
case "Blue":
break;
case "Black":
colorList.push("Noir");
break;
case "Yellow":
colorList.push("Jaune");
break;
default:
colorList.push(color)
}
}
return colorList;
}
// Do not remove calculateScriptExpression function. It must return a promise to the property value.
async function calculateScriptExpression(s: Switch, flowElement: FlowElement, job: Job): Promise<number> {
try {
const quantity = await job.getVariableAsString(`[Metadata.Text:Dataset="FastLane",Model="JSON",Path="/FastLane/ColorCount"]`);
const colorList = await getColorList(job, quantity)
return colorList.length
} catch (e) {
return e;
}
}
]]>
Couleur.verso.liste
// Your imports here
async function getColorList(job: Job, numberOfColor: number): Promise<string[]> {
const colorList = [];
for (let i = 0; i < numberOfColor; i++) {
const color = await job.getVariableAsString(`[Metadata.Text:Dataset="FastLane",Model="JSON",Path="/FastLane/Colors/DocumentColors/Colorants/${i}"]`);
switch (color) {
case "All":
case "Red":
case "Green":
case "Blue":
break;
case "Black":
colorList.push("Noir");
break;
case "Yellow":
colorList.push("Jaune");
break;
default:
colorList.push(color)
}
}
return colorList;
}
// Do not remove calculateScriptExpression function. It must return a promise to the property value.
async function calculateScriptExpression(s: Switch, flowElement: FlowElement, job: Job): Promise<string> {
try {
const quantity = await job.getVariableAsString(`[Metadata.Text:Dataset="FastLane",Model="JSON",Path="/FastLane/ColorCount"]`);
const colorList = await getColorList(job, quantity)
return colorList.join(';')
} catch (e) {
return e;
}
}
]]>
DataMapper
processor
Move
CMJN
752
224
Default
Default
0
0
Yes
One
XML Dataset and Private Data
Masterdata
Couleur.type=CMJN
Couleur.recto.quantite=4
Couleur.recto.liste=Noir;Cyan;Magenta;Jaune
Couleur.recto.type=CMJN
Couleur.verso.quantite=4
Couleur.verso.liste=Noir;Cyan;Magenta;Jaune
Couleur.verso.type=CMJN
DataMapper
processor
Move
GRIS
752
144
Default
Default
0
0
Yes
One
XML Dataset and Private Data
Masterdata
Couleur.type=GRIS
Couleur.recto.quantite=1
Couleur.recto.liste=Noir
Couleur.recto.type=GRIS
Couleur.verso.quantite=1
Couleur.verso.liste=Noir
Couleur.verso.type=GRIS
Filter
-90
298
654
Green
No
CMJN_Pantone
[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Couleur']/value"]
]]>
No Files
Filter
0
298
664
Green
No
CMJN
[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Couleur']/value"]
]]>
No Files
Filter
-90
298
665
Green
No
GRIS
[Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Couleur']/value"]
]]>
No Files
Folder
folder
-
#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
848
224
Move
90
665
669
Gray
No
Move
0
664
669
Gray
No
Move
90
663
669
Gray
No
Filter
0
669
530
Gray
No
All Files
No Files
Folder
folder
-
#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
752
384
TrafficLight
90
654
674
Gray
Data
Log
No
Yes
Yes
Yes
Filter
0
674
663
Gray
No
All Files
No Files
history
processor
TrafficLight
Datamapper
944
224
Default
Default
Yes
Unlimited
Current
history
No
JSON
Semicolon
Folder
folder
-
#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
1040
224
TrafficLight
0
530
677
Gray
Data
Log
No
Yes
Filter
0
677
92
Gray
No
All Files
No Files