I am using screen scraping to scrape an area on a website. The variable is a GenericValue variable called SPAN and it’s output looks something like this : USD 177.73. This is just an example. I am parsing off the **USD ** which leaves 177.73 for example.
Next I am using an If statement and if the value is greater than 200 I am using a move file activity to rename the file from 1234.pdf to 1234+200.pdf. The problem I’m having is that the If seems to change the file name regardless of what the value is. What am I doing wrong? Do I need to convert the generic value variable to an integer first?
Thank you in advance