Hi,
I'm new to the Enfocus Pitstop product, so applogies if this is a daft question.
I need to create an action list that will check a specific character in the input filename and pass or fail depending on the result.
This is required to define if a page is odd or even so that we can pass it on to another process to run different check.
The filename structure is
ABCD-A01-A1-1234-001.pdf
I need to test the last character of the "001" to see if it is [1,3,5,7,9]. If it is, pass, if not fail.
Is this possible? I did look at the Variable Sets, which looked promising, but I have no experience on how to create one of these.
Any help much appreciated.
Cheers
Action list to test input filename
-
- Newbie
- Posts: 6
- Joined: Fri Mar 16, 2018 12:33 pm
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"
For Odd pages use
Condition with Variables defined.
[Switch.Calculation:Expression="[Job.NameProper:After="-"]%2"] - Equal to 1
For Even pages use "All Other"
-
- Newbie
- Posts: 6
- Joined: Fri Mar 16, 2018 12:33 pm
Re: Action list to test input filename
Hi allsystems,allsystems wrote: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"
What's the meaning of the "%2" in a such case ?