# Within the action editor, Glide does not allow the inclusion of a second if in a group of actions that already have an if defined initially?

**URL:** https://community.glideapps.com/t/within-the-action-editor-glide-does-not-allow-the-inclusion-of-a-second-if-in-a-group-of-actions-that-already-have-an-if-defined-initially/35415
**Category:** Ask for Help
**Created:** [December 2, 2021, 6:07pm UTC](https://community.glideapps.com/t/within-the-action-editor-glide-does-not-allow-the-inclusion-of-a-second-if-in-a-group-of-actions-that-already-have-an-if-defined-initially/35415 "2021-12-02T18:07:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Juan\_Perez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/juan_perez/32/26552_2.png) [@Juan\_Perez](https://community.glideapps.com/u/Juan_Perez)
#### Post date: [December 2, 2021, 6:07pm UTC](https://community.glideapps.com/t/within-the-action-editor-glide-does-not-allow-the-inclusion-of-a-second-if-in-a-group-of-actions-that-already-have-an-if-defined-initially/35415/1 "2021-12-02T18:07:28Z")

</div>

Hello everyone, one question: within the action editor, Glide does not allow the inclusion of a second if in a group of actions that already have an if defined initially? For example, if a cond1 is true, it must perform actions 1 and 2 , but in the third action it must be consulted for a cond2, if it is true it executes the third action, otherwise it does a fourth action, if the cond1 is false it carries out another set of actions.

---

<div class="post-metadata">

### Author: ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)
#### Post date: [December 2, 2021, 6:13pm UTC](https://community.glideapps.com/t/within-the-action-editor-glide-does-not-allow-the-inclusion-of-a-second-if-in-a-group-of-actions-that-already-have-an-if-defined-initially/35415/2 "2021-12-02T18:13:44Z")

</div>

Have you tried building out branches to cover all the cases?

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/a/4abc6ccbbedb7f8346935002ec9a6eb8bff727cc.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [December 2, 2021, 11:56pm UTC](https://community.glideapps.com/t/within-the-action-editor-glide-does-not-allow-the-inclusion-of-a-second-if-in-a-group-of-actions-that-already-have-an-if-defined-initially/35415/3 "2021-12-02T23:56:22Z")

</div>

Sounds like you want child branches of logic, which is not available as of now. We have talked about this since custom actions become a thing, but at the moment you can only do it horizontally like Eric said. You have to cover all the possible cases.

---

<div class="post-metadata">

### Author: ![Juan\_Perez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/juan_perez/32/26552_2.png) [@Juan\_Perez](https://community.glideapps.com/u/Juan_Perez)
#### Post date: [December 3, 2021, 11:37pm UTC](https://community.glideapps.com/t/within-the-action-editor-glide-does-not-allow-the-inclusion-of-a-second-if-in-a-group-of-actions-that-already-have-an-if-defined-initially/35415/4 "2021-12-03T23:37:25Z")

</div>

OK, thank you very much.
