# Show a warning if a trigger is unreachable?

**URL:** <https://community.tulip.co/t/show-a-warning-if-a-trigger-is-unreachable/14435>\
**Category:** Product Suggestions\
**Tags:** trigger, triggers, app-editor\
**Created:** [April 16, 2025, 3:47pm UTC](https://community.tulip.co/t/show-a-warning-if-a-trigger-is-unreachable/14435 "2025-04-16T15:47:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fti](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@fti](https://community.tulip.co/u/fti)\
**Post date:** [April 16, 2025, 3:47pm UTC](https://community.tulip.co/t/show-a-warning-if-a-trigger-is-unreachable/14435/1 "2025-04-16T15:47:50Z")

</div>

Hello.

I noticed that sometimes, my customers and I mistakenly put some triggers after an unconditional transition (e.g. when copy-pasting a trigger). In such a situation, the trigger is of course never executed.

If we are in a hurry or not focused, and/or if triggers are not well named, we can easily forget this and not understand why trigger(s) after the transition don’t execute.

I think it would be great if a warning icon was shown if one or several triggers find themselves after an unconditional transition trigger in a list.

Note that I would also appreciate a change such as the one suggested here: [Add indication to trigger menu if a transition is part of the trigger or not - Product Suggestions - Tulip Community](https://community.tulip.co/t/add-indication-to-trigger-menu-if-a-transition-is-part-of-the-trigger-or-not/9962)

---

<div class="post-metadata">

**Author:** ![danielpomeranz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/danielpomeranz/32/9379_2.png) [@danielpomeranz](https://community.tulip.co/u/danielpomeranz)\
**Post date:** [April 17, 2025, 5:13am UTC](https://community.tulip.co/t/show-a-warning-if-a-trigger-is-unreachable/14435/2 "2025-04-17T05:13:58Z")

</div>

Like this idea a lot! There is precedent from code editors

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/9/9e6433808aae17d6a30efd44ef1fdee98d1ff000.png)

---

<div class="post-metadata">

**Author:** ![OlgaStroilova](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/olgastroilova/32/7199_2.png) [@OlgaStroilova](https://community.tulip.co/u/OlgaStroilova)\
**Post date:** [April 21, 2025, 12:28pm UTC](https://community.tulip.co/t/show-a-warning-if-a-trigger-is-unreachable/14435/3 "2025-04-21T12:28:56Z")

</div>

Thanks @fti and @danielpomeranz for the suggestion. We’re thinking about Trigger Errors and App validation in general, so we’ll add this to the broad list of requests there.

The first step we’re investigating taking is surfacing errors e.g. in Connector Functions on App Publish. Validation, warnings, and other best practice recommendations could be a valuable next step but could become increasingly tricky to detect.

You mentioned good Trigger naming – do you think having block comments could help?

---

<div class="post-metadata">

**Author:** ![danielpomeranz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/danielpomeranz/32/9379_2.png) [@danielpomeranz](https://community.tulip.co/u/danielpomeranz)\
**Post date:** [April 22, 2025, 11:29am UTC](https://community.tulip.co/t/show-a-warning-if-a-trigger-is-unreachable/14435/4 "2025-04-22T11:29:31Z")

</div>

@OlgaStroilova Obviously it would be nice, but I generally advocate for “clean code” Tulip to avoid lengthy triggers with many blocks. It is almost always cleaner to separate things out. I worry that if someone needs to add comments to each block of their triggers than they are doing too much.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/d/d3b79e12ba417293452ba071abf4f8bb5785306d.png)

---

<div class="post-metadata">

**Author:** ![fti](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@fti](https://community.tulip.co/u/fti)\
**Post date:** [April 22, 2025, 3:22pm UTC](https://community.tulip.co/t/show-a-warning-if-a-trigger-is-unreachable/14435/5 "2025-04-22T15:22:26Z")

</div>

@OlgaStroilova Adding comments is a possibility but I already find the current trigger editing GUI cumbersome and hard to read. So to me, adding comments would worsen the situation unless the GUI is improved.

Currently we have trigger descriptions which is a good thing to have and use. It should be enough if on top of that we separate triggers neatly as described by @danielpomeranz.

Let’s see how many votes this suggestion gets and what other people have to say? Maybe there aren’t enough users bothered by this to justify the development effort.

---

<div class="post-metadata">

**Author:** ![OlgaStroilova](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/olgastroilova/32/7199_2.png) [@OlgaStroilova](https://community.tulip.co/u/OlgaStroilova)\
**Post date:** [April 22, 2025, 8:55pm UTC](https://community.tulip.co/t/show-a-warning-if-a-trigger-is-unreachable/14435/6 "2025-04-22T20:55:00Z")

</div>

Great feedback. Thank you!
