Hi Team,
I have one merge pdf. so, i did splitting of merge pdf.
Suppose i have multiple pdf some are merge and some are single pdf. so, bot should split only merge pdf and not to split single pdf.
For eg:- 20 pdf present inside one pdf then for total count which activity should i use? (Unique text is present on each pdf. i want count=20)
So, for this i am using if else condition. if page count = 1 then bot will not split and on else part if count is more than 1 then merge pdf will goes inside else condition.
So, please help me for which activity should i use for count?
Thanks & Regards,
Smitesh
Hi @Smitesh_Aher1 ,
You can use page count

check if count > 1
→ split
regards,
I want count on basis of unique text.
@Nguyen_Van_Luong1
The merge pdf contains multiple pdf and we don’t know size of single single pdf.
Some pdf size is 3 pages, some are 5 pages. but every pdf 1st page contains unique text. So, depends on text count will use if else condition.
This is my case. let me know which activity should use or any other solution.
@Smitesh_Aher1 can you plz let us know 1st page unique is a text or Number? if possible please share those sample pdf. you can edit confidential text.
Hi @Vimal_Mishra1
The unique text is a string.
Sorry, it’s a confidential document. I will share one sample document.
sample-pdf-download-10-mb.pdf (35.1 KB)
Page is a unique text.
Your Requirement is not fully clear to me, but I can suggest some option because there is no direct activity for this customize Requirement. you can use “read pdf with ocr” activity if its scan pdf and use if activity for with condition like- (pdfdata. Contains(“your string where you want split”))with in and in “Then” block put extract pdf activity with counter u need to manage that range by counter variable.
Hope it will help you.
Documents are not scanned.
@Smitesh_Aher1 use regex extract data which is common in all meagre pdf put if condition, use a counter and find out count of merge files.