# Smart action is not shown

**URL:** <https://community.forestadmin.com/t/smart-action-is-not-shown/1042>\
**Category:** Help me!\
**Created:** [September 29, 2020, 8:48am UTC](https://community.forestadmin.com/t/smart-action-is-not-shown/1042 "2020-09-29T08:48:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matteo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/matteo/32/75_2.png) [@Matteo](https://community.forestadmin.com/u/Matteo)\
**Post date:** [September 29, 2020, 8:48am UTC](https://community.forestadmin.com/t/smart-action-is-not-shown/1042/1 "2020-09-29T08:48:41Z")

</div>

In my environment I have a Smart Action for a collection. Editing the layout I can see that the smart action exists, but it’s not shown in the `Actions` drop down menu.

## Expected behavior

The existing smart action is supposed to be shown in the `Actions` drop down menu.

## Actual behavior

The smart action is not shown in the `Actions` drop down menu.

## Failure Logs and evidences

This is the Layout Editor perspective:  
 ![Screenshot 2020-09-29 at 10.36.24](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/98ff973118cfc573fd5809600613436373a5fc48.png)

As you can see, there is a smart action.

And this is what I get when I exit from the Layout Editor: the smart action is not shown:

 ![Screenshot 2020-09-29 at 10.37.17](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/6c0b1f97b848846c86d5f0405908416b69d5c4f7.png)

In this collection, I have a couple of Segments. But there’s no resctriction for the Smart Action with the segments:

 ![Screenshot 2020-09-29 at 10.39.17](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/b546fb3148af18bb2fb65cc3eaed76297b81ef49.png)

The problem happens in all the segments.

Maybe I’m doing something wrong, but I can’t figure out which is my mistake 🤷‍♂️. May you help please?

Thank you in advance.

## Context

~~The problem only occurs in the environment `stg-datamix`. I can see the smart action in the enviroment `dev-datamix` (same backend software underneath).~~

~~I tried to copy layout from `dev-datamix` to `stg-datamix` and all the settings get copied. But the smart action is not shown.~~

* * *

**Edit:** The two above sentences are not true, I was wrong. It’s the same problem in both environments.

* * *

- Package Version: `"forest-express-sequelize": "^6.3.8"`
- Express Version: `"express": "~4.17.1"`
- Sequelize Version: `"sequelize": "^5.22.3"`
- Database Dialect: `postgres`
- Database Version: `12`
- Project Name: `Sailsquare`

---

<div class="post-metadata">

**Author:** ![rap2h](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/rap2h/32/25_2.png) [@rap2h](https://community.forestadmin.com/u/rap2h)\
**Post date:** [September 29, 2020, 9:06am UTC](https://community.forestadmin.com/t/smart-action-is-not-shown/1042/2 "2020-09-29T09:06:18Z")

</div>

Hi @Matteo 👋

Thank you for your feedback 🙏. Could you share the configuration (the code in `forest/my-model.js`) of your smart action? Also, could you check if you see it in your `.forestadmin-schema.json` file of your `stg-datamix` environment?

Just to be sure, is it a [bulk action or a global action](https://docs.forestadmin.com/documentation/reference-guide/actions#triggering-different-types-of-actions)? Looking at your screenshot, it seems that you try to use it as a global action (without selecting any records) so I would like to double check the configuration is OK.

---

<div class="post-metadata">

**Author:** ![Matteo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/matteo/32/75_2.png) [@Matteo](https://community.forestadmin.com/u/Matteo)\
**Post date:** [September 29, 2020, 9:09am UTC](https://community.forestadmin.com/t/smart-action-is-not-shown/1042/3 "2020-09-29T09:09:49Z")

</div>

Hi @rap2h.

Thank you for your feedback.

I’m afraid my question was stupid. Sorry. I was just forgetting to select the records to apply the smart action to.

Sorry again for the question.  
Thank you.
