Objective is to find or search specific text ‘invoices’ in collection (7) (output of invoke PowerShell activity)
Not sure whether specific text will come in collection object(0), (2) or (5). I’ve also tried using CollectionOutput.contains(“invoices”) but getting false output instead of true value.
Hi @NIVED_NAMBIAR - find the attached Powershell command output. Objective is to find this text ‘the sender’s address contains these words: ‘travelctm’’ as Output(3).contains(“travelctm”) doesn’t work in Collection.
@NIVED_NAMBIAR : this output is not in string format. It is actually in Collection format.
I tried extracting values using Output(0).ToString, Output(1).ToString etc but not able to find text in this way : Output(0).ToString.contains(“specified text”).