# Active logic on connector function table

**URL:** https://community.tulip.co/t/active-logic-on-connector-function-table/2351
**Category:** General
**Created:** [April 5, 2021, 9:22am UTC](https://community.tulip.co/t/active-logic-on-connector-function-table/2351 "2021-04-05T09:22:01Z")
**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: [April 5, 2021, 9:22am UTC](https://community.tulip.co/t/active-logic-on-connector-function-table/2351/1 "2021-04-05T09:22:01Z")

</div>

Hello,  
I have a small table that returns from a connector function (as an array that each value is an objects of fields), I want to execute a logic that checks, if the third column is full of data (such as batch data for all materials), goto the step X, otherwise goto step Y.  
How can I implement such logic ?

Thank you,  
Amit Berku

---

<div class="post-metadata">

### Author: ![gio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/gio/32/82_2.png) [@gio](https://community.tulip.co/u/gio)
#### Post date: [April 5, 2021, 12:00pm UTC](https://community.tulip.co/t/active-logic-on-connector-function-table/2351/2 "2021-04-05T12:00:54Z")

</div>

hello @Amit, thanks for posting. this is a great question!!

depending on how exactly the Array is built from your Connector Function, you can:

- store the element you want in a Variable or Array
- get the element you’re interested in from that Array
- in a subsequent Trigger, add a Conditional statement that checks whether or not it’s empty.

here’s an example:

 ![Screen Shot 4](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/a/ab59b4e8f5c6472f4eb29e9fea1977c095475224.jpeg)  
(please note that `range` is an element the `Array [from Connector]` Variable):  
 ![Screen Shot 5](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/b/ba4790ba7f70caee57535332571b2477fe7e6229.jpeg)

did I understand your question correctly?? let us know!!
