# Limiting a smart action to a segment doesn't work where the segment uses "is in" filter (and similar issue with "is blank" filter)

**URL:** <https://community.forestadmin.com/t/limiting-a-smart-action-to-a-segment-doesnt-work-where-the-segment-uses-is-in-filter-and-similar-issue-with-is-blank-filter/5087>\
**Category:** Help me!\
**Created:** [August 13, 2022, 3:54pm UTC](https://community.forestadmin.com/t/limiting-a-smart-action-to-a-segment-doesnt-work-where-the-segment-uses-is-in-filter-and-similar-issue-with-is-blank-filter/5087 "2022-08-13T15:54:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [August 13, 2022, 3:54pm UTC](https://community.forestadmin.com/t/limiting-a-smart-action-to-a-segment-doesnt-work-where-the-segment-uses-is-in-filter-and-similar-issue-with-is-blank-filter/5087/1 "2022-08-13T15:54:56Z")

</div>

## Feature(s) impacted

Limiting smart action to only work on a selected segment(s)

## Observed behavior

Records in a particular segment have the smart action showing disabled where it should be enabled for that segment.

## Expected behavior

A smart action should work on records in the segment to which it is limited.

## Context

Project: Bridgement.1  
Package Version: “forest-express-sequelize”: “^8.4.10”,  
Express Version: “express”: “^4.17.1”,  
Sequelize Version: “sequelize”: “6.6.2”,  
Database Dialect: postgresql

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [August 16, 2022, 10:09am UTC](https://community.forestadmin.com/t/limiting-a-smart-action-to-a-segment-doesnt-work-where-the-segment-uses-is-in-filter-and-similar-issue-with-is-blank-filter/5087/2 "2022-08-16T10:09:39Z")

</div>

Hello @dig,  
Thank you for your report.  
Can I have a screenshot of your segment. Also, can you send the code of your smart action please ?

---

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [August 18, 2022, 1:43pm UTC](https://community.forestadmin.com/t/limiting-a-smart-action-to-a-segment-doesnt-work-where-the-segment-uses-is-in-filter-and-similar-issue-with-is-blank-filter/5087/3 "2022-08-18T13:43:00Z")

</div>

![Segment screenshot](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/d/d7c12ae4275ff5935836fec10215746d8b060ee1.png)  
 ![Smart action limited to segment](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/8/829a74cb73d7f4b21c0683facf7e4517fe06a253.png)

I’ll follow up with smart action code

---

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [August 18, 2022, 1:49pm UTC](https://community.forestadmin.com/t/limiting-a-smart-action-to-a-segment-doesnt-work-where-the-segment-uses-is-in-filter-and-similar-issue-with-is-blank-filter/5087/4 "2022-08-18T13:49:23Z")

</div>

After further investigation, it seems that when I go view the “Can mark successful” segment in collection X, then the smart action is enabled.

But when I navigate to a summary view which displays related data (Collection X), a record in the related data (which I’ve confirmed is in the “Can mark successful” segment above) shows the smart action as disabled. Similarly if I click on the record to view its own summary view, the smart action is still disabled.

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [August 18, 2022, 3:18pm UTC](https://community.forestadmin.com/t/limiting-a-smart-action-to-a-segment-doesnt-work-where-the-segment-uses-is-in-filter-and-similar-issue-with-is-blank-filter/5087/5 "2022-08-18T15:18:41Z")

</div>

Hello, thanks you for the report, I will forward this problem to the product. I will come back as soon as possible.

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [August 19, 2022, 8:46am UTC](https://community.forestadmin.com/t/limiting-a-smart-action-to-a-segment-doesnt-work-where-the-segment-uses-is-in-filter-and-similar-issue-with-is-blank-filter/5087/6 "2022-08-19T08:46:44Z")

</div>

Hello,  
We have created a bug ticket to fix your problem.  
Sorry for the inconvenience.
