I am automating different types of PDF files. Based on the Page title, reading content will change. Currently, I am using Nested if for this.
In IF activity, am writing following expression: PDFText.Contains(“Export Bill Realisation - Advice”) and in else part PDFText.Contains(“Debit - Advice”) and so on… and also am getting exact solution by this approach but there are total of 15 types of PDF files. If I will follow this approach then I have to write 15 IF activities one inside another.
Is it possible to convert it to Switch activity ? If yes, what I have to write in expression field and cases. Could you please help me in this.
For this approach, which one is better Nested IF or switch ?
Thanks & Regards,