'Blue Prism - How filter a collection using NOT operator
I need to filter a collection that have "HoldingSubholding" column, that can have lot of different value. I need All the rows with the values except the rows that have value "A".
How can I filter the collection? I would like to use EQUAL NOT, how could i write that?
"HoldingSubholding =NOT 'A'"
Solution 1:[1]
There's a VBO from the digital exchange, utility-collection manipulation. It has an action called filter collection- Input the collection and the filter expression "HoldingSubholding <> 'A'"
Or you can use a loop stage to loop through the collection, and a decision stage to check the condition [Collection.HoldingSubholding] <> "A"
Solution 2:[2]
“[Column Name] <>’A’”
<> is exact opposite of = which allows you to deselect or filter out non relevant Data in columns.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Javan N |
Solution 2 | marc_s |