# Alumio's evaluation

**URL:** <https://forum.alumio.com/t/alumios-evaluation/1324>\
**Category:** Data Transformers\
**Tags:** conditional\
**Created:** [September 13, 2024, 8:35am UTC](https://forum.alumio.com/t/alumios-evaluation/1324 "2024-09-13T08:35:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerg.borsodi](https://forum.alumio.com/user_avatar/forum.alumio.com/gerg.borsodi/32/1964_2.png) [@gerg.borsodi](https://forum.alumio.com/u/gerg.borsodi)\
**Post date:** [September 13, 2024, 8:35am UTC](https://forum.alumio.com/t/alumios-evaluation/1324/1 "2024-09-13T08:35:07Z")

</div>

Hi there!  
My question is towards Alumio’s evaluation:  
Are the conditional transformer’s conditions (or basically any conditions inside Alumio) evaluated lazy, or eager?

Example: I might have a ‘method’ variable set in the data. If that method set, and if it is “POST”, then I want to do something. If it doesn’t exists, or if it isn’t “POST”, then I don’t.

On a situation of it not being set: can I place the ‘key exists’ and ‘value condition’ inside one conditional transformer as “All conditions have to be true” setting, and will the evaluation stop at the ‘key exists’ condition, or will it throw an exception on a non-existent ‘method’ variable because of the latter condition?

Thank you for your answer in advance!

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [September 16, 2024, 2:32pm UTC](https://forum.alumio.com/t/alumios-evaluation/1324/2 "2024-09-16T14:32:22Z")

</div>

Hi @gerg.borsodi

The “Value Condition” + the “Equals” comparator will first check whether the key exists. If the key doesn’t exist, the “else” part of the conditional transformer will be executed. Therefore, you don’t need to add the “Key condition” and “All conditions” to the conditions.

In addition, the “Key condition”, “Value condition”, or the other available conditions will not throw any exceptions. If the conditions are not met, Alumio will execute the “else” part of the conditional transformer.

Please let us know if it doesn’t answer your questions.

---

<div class="post-metadata">

**Author:** ![gerg.borsodi](https://forum.alumio.com/user_avatar/forum.alumio.com/gerg.borsodi/32/1964_2.png) [@gerg.borsodi](https://forum.alumio.com/u/gerg.borsodi)\
**Post date:** [September 19, 2024, 1:39pm UTC](https://forum.alumio.com/t/alumios-evaluation/1324/3 "2024-09-19T13:39:02Z")

</div>

Thank you for your answer!
