Targeting 2nd to last page
Posted: Wed Mar 22, 2017 5:03 pm
Hello
I'm trying to limit the execution of an Action List to the second to last page of a PDF in a very simple flow.
I have an Enfocus Pitstop Server configurator where the Action List is a specified file, and the Variable Set is a 'single-line text with variables defined'. In that definition I am using Switch Calculation to pull Stats.NumberOfPages and -1:
[Switch.Calculation:Expression="[Stats.NumberOfPages]-1"]
Although the values returned are correct (for instance, an eight page file returns '7'), I am getting the following error:
Variable Set '7' is not available
Dynamic property 'VariableSet' has invalid value '7'
The Action List is a simple 'Add Object'.
Any feedback is greatly appreciated.
Thank you
I'm trying to limit the execution of an Action List to the second to last page of a PDF in a very simple flow.
I have an Enfocus Pitstop Server configurator where the Action List is a specified file, and the Variable Set is a 'single-line text with variables defined'. In that definition I am using Switch Calculation to pull Stats.NumberOfPages and -1:
[Switch.Calculation:Expression="[Stats.NumberOfPages]-1"]
Although the values returned are correct (for instance, an eight page file returns '7'), I am getting the following error:
Variable Set '7' is not available
Dynamic property 'VariableSet' has invalid value '7'
The Action List is a simple 'Add Object'.
Any feedback is greatly appreciated.
Thank you