Since findText() method returns an array
you could create as many arrays as many times your
app.findTextPreferences.appliedParagraphStyle is changing with assigned style.
and concat all arrays finally.
Is this your goal?
No, I need to find a paragraph and the corresponding paragraph styles (Para_Style_1 or Para_Style_2) needs to be validated, if any of the paragraph style (Para_Style_1 or Para_Style_2) applied for the paragraph, I need to select the corresponding parentTextFrame.
In Grep, "findGrep" have an option called "OR", similar to that, for appliedParagraphStyle is there any "OR" function in Grep?
As Jarek mentioned, you can't do this:
app.findGrepPreferences.appliedParagraphStyle = "Para_Style_1 | Para_Style_2";
Again, as Jarek mentioned, you'll have to do searches for each paragraph style separately.
Thanks Jarek and Peter for your valuable suggestion.