# Use OR condition in Connector Function

**URL:** https://community.tulip.co/t/use-or-condition-in-connector-function/4293
**Category:** General
**Tags:** connector\_function
**Created:** [December 30, 2021, 2:51pm UTC](https://community.tulip.co/t/use-or-condition-in-connector-function/4293 "2021-12-30T14:51:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Amit](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/amit/32/968_2.png) [@Amit](https://community.tulip.co/u/Amit)
#### Post date: [December 30, 2021, 2:51pm UTC](https://community.tulip.co/t/use-or-condition-in-connector-function/4293/1 "2021-12-30T14:51:30Z")

</div>

Hello,  
I have a table of material master data, 4 fields of this table fields contains several kinds of articles, I want to create a connector function that gets as an input article number, checks if one of the fields contains this article number and returns several other fields.

So, the logic will be : if field1 = $article$ or field2 = $article$ or field3 = $article$ or field4 = $article$ then do something

The only condition I saw in the connecotr function is AND logic

Thank you,  
Regards,  
Amit Berku

---

<div class="post-metadata">

### Author: ![Ethan](https://avatars.discourse-cdn.com/v4/letter/e/8dc957/32.png) [@Ethan](https://community.tulip.co/u/Ethan)
#### Post date: [January 4, 2022, 3:30pm UTC](https://community.tulip.co/t/use-or-condition-in-connector-function/4293/2 "2022-01-04T15:30:52Z")

</div>

Hi Amit, if you use ‘filterAggregator = any’ that functions as an OR operator.
