Hi guys,
I am very grateful for the help I have received here in the forum, each day that passes my understanding of the tool increases!
I have a Workflow that inserts some information and in the end generates a PDF ticket according to image:
If you are trying to get particular information from the PDF, you can use relative scraping or Get all text and then use string manipulations to extract the required information.
Kindly follow the below steps that could really help you sort this out
Well this can be handled in many ways and let me tell you one by one
–if we are trying to extract specific terms from the pdf and if the pdf is not a native pdf, means the words in pdf can be selected as individual elements and if so we can use GET TEXT activity…But before using tis activity we need to use START PROCESS activity where we need to pass the file path of pdf as input to the file name property in start process…the reason to use start process is to open the pdf and bring that file in front of screen, then only the bot will be able to see the elements and get the text with get text activity…
–another way is if we are trying to get the text, a specific text but the pdf is native pdf, we cannot select the wordings as individual element, in that case we can use SCREEN SCRAPPING with OCR activities option in the design menu of studio, which will look for the text and get the text with OCR engines…and for this also the pdf must be brought up in front of screen so we need to use START PROCESS activity before this screen scrapping activity.
–Or if we are trying to extract the whole data from the pdf as a text, we can use READ PDF TEXT activity if there is no imaged text format as all the text wordings can be selected as individual elements, and if they are in image format like the whole pdf gets selected when trying to indicate a word with the selector, then we can use READ PDF OCR ACTIVITY, but for these two activities we dont need to use START PROCESS activity as they will read the content without opening the application
Kindly try this and let know for any queries buddy
you were almost done
Cheers @Rafaeloneil