Page 1 of 1

Action not showing correct results

Posted: Mon Sep 11, 2023 4:53 pm
by ConquestUser
I have an action that is in pitstop server element that checks if a pdf is larger than what the xml says. My issue is I know the action is written correctly cause if I do it manually in acrobat and pitstop it works. I have a document that is 8.5x11 portrait and the xml for testing is 8.3 x 11 with .125 tolerance. It says that this document is good to go. If I change the xml to 7x10 it gives me the error I am expecting. Anybody have thoughts on this?

TIA,
B

Re: Action not showing correct results

Posted: Tue Sep 12, 2023 9:43 am
by magnussandstrom
What is the problem? Are you using Switch?

Re: Action not showing correct results

Posted: Tue Sep 12, 2023 10:25 am
by freddyp
The thoughts I have: good job!

Re: Action not showing correct results

Posted: Tue Sep 12, 2023 2:08 pm
by ConquestUser
Yes it's a flow in Switch. The problem I'm having is the document is larger than the XML is saying it's supposed to be. I should get an error out of the pitstop server element that than gets passed on by switch. The document is 8.5x11. I send XML with 8x11 and it doesn't work, but if I change it to 7x11 it works. Can anyone help me correct this?

Thanks,
B

Re: Action not showing correct results

Posted: Tue Sep 12, 2023 4:14 pm
by ConquestUser
Issue found. I missed a 1 in the variable set. Something so small can cause such a problem.

Thanks