Search found 6 matches

by allsystems
Fri Mar 30, 2018 4:35 pm
Forum: Flows
Topic: Evenly distribute jobs over two folders
Replies: 2
Views: 3806

Re: Evenly distribute jobs over two folders

The Hold job element does this.
Connect it to your out folders and select Cyclic from the properties.
by allsystems
Thu Mar 29, 2018 7:55 pm
Forum: Flows
Topic: Extracting metadata from an excel
Replies: 5
Views: 8009

Re: Extracting metadata from an excel

@zoranj The value of "Impressions in a specific Node /Log/SQLStatementValue/Row[3]/Column[5][@Name="Impressions"] A list of all of the values [Metadata.TextIndexed:Path="/Log/SQLStatementValue/Row/Column[@Name='Impressions']",Dataset="Xml",Model="XML"] A ...
by allsystems
Thu Mar 29, 2018 6:49 pm
Forum: Flows
Topic: Switch Variables in XML Location Path
Replies: 5
Views: 7663

Re: Switch Variables in XML Location Path

If you have the scripting module, try this as a script expression... var theFolio = job.getPrivateData("FOLIO"); var xpathString = "[Metadata.Text:Path=\"/contexture/publication/parution/cahier/pages/page[@folio='" + theFolio + "']/@verrou\",Dataset=\"Xml\&quo...
by allsystems
Thu Mar 29, 2018 5:19 pm
Forum: Preflighting
Topic: Action list to test input filename
Replies: 3
Views: 7321

Re: Action list to test input filename

Sort Odd Even.sflow.zip
Example FLow
(4.84 KiB) Downloaded 742 times
by allsystems
Thu Mar 29, 2018 5:18 pm
Forum: Preflighting
Topic: Action list to test input filename
Replies: 3
Views: 7321

Re: Action list to test input filename

For this example, you can just use the logic in an outgoing connector.

For Odd pages use
Condition with Variables defined.
[Switch.Calculation:Expression="[Job.NameProper:After="-"]%2"] - Equal to 1

For Even pages use "All Other"
by allsystems
Fri Mar 16, 2018 12:52 pm
Forum: LEGACY scripting
Topic: Access Stats.* in script
Replies: 6
Views: 8775

Re: Access Stats.* in script

var numberOfPages = job.getVariableAsNumber("[Stats.NumberOfPages]");
var modOperator = 4;//this is the number of pages you want to check
var modCheck = false;//set the check to false

if(numberOfPages%modOperator==0){
modCheck = true;
}