Topic Options
#56315 - 09/18/18 04:38 AM If Value is less than 10
markfarwell Offline
OL Newbie

Registered: 02/13/18
Posts: 2
I am creating PDFs from a line data file. In a certain location, if the value is less than 10 I need to move them to a different folder location. I've tried a few different things but it doesn't read it properly.

I've tried a text condition @(1,63,63,79,84,KeepCase,NoTrim)<10 and then into the branch to go to a "less than 10" folder but it doesn't go to this folder, it will go to the standard folder that isn't in the branch.

Any ideas? Below is a link to a screenshot of me debugging in the workflow.

#56316 - 09/18/18 08:35 AM Re: If Value is less than 10 [Re: markfarwell]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 530
Loc: Québec, Canada
In your Text Condition plugin, have you check the box Numeric comparison?

#56319 - 09/18/18 02:31 PM Re: If Value is less than 10 [Re: markfarwell]
jouberto Offline
OL Toddler

Registered: 04/18/18
Posts: 33
I would also recommend to trim, since you pull 5 characters and compare to 2 characters, make sure both numeric comparison and trimming occur