MAX variables are defined as either type text(string) or a type number variable -- see below. A variable's type can't be modified. One could use an addition MAX number variable (e.g., InsertNumber) to define the number of inserts in the Insert node.
Thanks. Do you know if there is some sort of Interger() function to convert to a number? If not, is this something that you could do with MAX variables (I know nothing about how to use MAX)?
I believe the issue is the mixing of a string operation $FFwfJob.jobName.rtrim(_)$ with a mathematical operation of subtracting 1. I tried various combinations of parenthesis to separate the operations -- to no avail.
I want to be able to insert pages using a part of the filename to dermine the number of inserts. Something like
Job Name "50_Annual Report.pdf"
Number of Inserts "$FFwfJob.jobName.rtrim(_)$ - 1"
to get 49 additional pages inserted but it does not work. What I found that does work is
Job Name "50.pdf"
Number of Inserts "$FFwfJob.jobName$ - 1"
and I do get 49 additional Inserts.
Anyone know why the rtrim doesn't work? I would like to retain the Name through the process. Thanks