# Can I use the active form as a conditional checkpoint

**URL:** <https://forum.rasa.com/t/can-i-use-the-active-form-as-a-conditional-checkpoint/19467>\
**Category:** Rasa Open Source\
**Created:** [October 8, 2019, 5:32pm UTC](https://forum.rasa.com/t/can-i-use-the-active-form-as-a-conditional-checkpoint/19467 "2019-10-08T17:32:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbeuchat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nbeuchat/32/13688_2.png) [@nbeuchat](https://forum.rasa.com/u/nbeuchat)\
**Post date:** [October 8, 2019, 5:32pm UTC](https://forum.rasa.com/t/can-i-use-the-active-form-as-a-conditional-checkpoint/19467/1 "2019-10-08T17:32:22Z")

</div>

How could I have a conditional checkpoint that only works if the active form is `my_form`?

With conditional checkpoint, I can do something like:

```
## some story

```

> my\_checkpoint{“my\_slot”: true}

- some\_intent
  - some\_action

But I cannot do `> my_checkpoint{"form": "my_form"}` as `form` is not a slot.

Any suggestion? Thanks a lot! Nicolas

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [October 9, 2019, 7:22am UTC](https://forum.rasa.com/t/can-i-use-the-active-form-as-a-conditional-checkpoint/19467/2 "2019-10-09T07:22:55Z")

</div>

hi @nbeuchat - can you give a bit more background on what you are trying to achieve? I would generally advise against using checkpoints at all. If you have conditional logic you want to express, I would suggest to contain that within a form

---

<div class="post-metadata">

**Author:** ![nbeuchat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nbeuchat/32/13688_2.png) [@nbeuchat](https://forum.rasa.com/u/nbeuchat)\
**Post date:** [October 9, 2019, 9:35am UTC](https://forum.rasa.com/t/can-i-use-the-active-form-as-a-conditional-checkpoint/19467/3 "2019-10-09T09:35:33Z")

</div>

Hi Alan, thanks for your reply and happy to provide more background!

We use several forms in our bot (for example preferences\_form, contact\_form, scheduling\_form, etc.). The problem comes with handling unhappy paths for each of these forms.

```
## within form contact
> within_form_contact
  - form{"name": "form_contact"}
> within_form_contact_unhappy
> back_from_within_form_contact

## ask_location - data is set (there are dozen like this)
> within_form_contact_unhappy
* ask_location{"slug": "XYZ"}
  - action_answer_location
  - form_contact
> back_from_within_form_contact

```

I would prefer to have a single `> faq` checkpoint but the problem is that we wouldn’t be able to add `form_contact` again unless we can come back from the faq checkpoint knowing in which form we were.

I know it’s over-using checkpoints but I cannot find a good alternative right now.

Do you have any recommendations? Thanks so much! Nicolas
