# Error when configuring conditional step

**URL:** <https://forum.keycloak.org/t/error-when-configuring-conditional-step/18117>\
**Category:** Configuring the server\
**Tags:** authentication\
**Created:** [October 26, 2022, 7:41am UTC](https://forum.keycloak.org/t/error-when-configuring-conditional-step/18117 "2022-10-26T07:41:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bofort](https://avatars.discourse-cdn.com/v4/letter/b/d2c977/32.png) [@bofort](https://forum.keycloak.org/u/bofort)\
**Post date:** [October 26, 2022, 7:41am UTC](https://forum.keycloak.org/t/error-when-configuring-conditional-step/18117/1 "2022-10-26T07:41:28Z")

</div>

I want to create a conditional flow for resetting password: if a user will have some attribute or a role then I don’t want the reset password email to be sent. But when I edit keycloak flow conditions I am getting a weird error.

A flow which I’ve created.

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/f/f6dcc76272b731970da4746e046dd2046c7b986a.png)

However when I want to edit the condition and click on the options button there I am getting such a message: `Cannot convert undefined or null to object`  
The same is for other conditions.

In the keyckloak logs I don’t see any errors. I am using dockerized keyckloak 19

Maybe someone knows some other way how to disable resetting password only for particular users.

Thank you

---

<div class="post-metadata">

**Author:** ![weltonrodrigo](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/weltonrodrigo/32/3104_2.png) [@weltonrodrigo](https://forum.keycloak.org/u/weltonrodrigo)\
**Post date:** [October 26, 2022, 11:36am UTC](https://forum.keycloak.org/t/error-when-configuring-conditional-step/18117/2 "2022-10-26T11:36:36Z")

</div>

Unfortunately you hit a known bug: [Bug when configuring an authenticator · Issue #3375 · keycloak/keycloak-ui · GitHub](https://github.com/keycloak/keycloak-ui/issues/3375) This is already fixed, but will ship only in Keycloak 20.

Workaround is to disable the new admin console theme:

**Admin console** → **master realm** → **realm settings** → **theme** → **admin console** → **keycloak**.

---

<div class="post-metadata">

**Author:** ![bofort](https://avatars.discourse-cdn.com/v4/letter/b/d2c977/32.png) [@bofort](https://forum.keycloak.org/u/bofort)\
**Post date:** [October 27, 2022, 1:24pm UTC](https://forum.keycloak.org/t/error-when-configuring-conditional-step/18117/3 "2022-10-27T13:24:29Z")

</div>

Thank you, this worked.
