# Why no Boolean Data Type Parameter option?

**URL:** <https://forum.inductiveautomation.com/t/why-no-boolean-data-type-parameter-option/23233>\
**Category:** Ignition\
**Created:** [March 12, 2019, 12:11am UTC](https://forum.inductiveautomation.com/t/why-no-boolean-data-type-parameter-option/23233 "2019-03-12T00:11:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [March 12, 2019, 12:11am UTC](https://forum.inductiveautomation.com/t/why-no-boolean-data-type-parameter-option/23233/1 "2019-03-12T00:11:33Z")

</div>

Seems fundamentally strange to exclude these as an option when building UDTs.  
The only options for Data Type Parameters are:  
Integer  
Double  
String

I’d quite like bools to bind on the Enable property of an alarm. but instead i will have to use an integer and check for 0 and 1 which is a bit tacky.

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [March 12, 2019, 11:59am UTC](https://forum.inductiveautomation.com/t/why-no-boolean-data-type-parameter-option/23233/2 "2019-03-12T11:59:36Z")

</div>

> [@richardNZ15](#):
>
> Seems fundamentally strange to exclude these as an option when building UDTs.

What version of Ignition are you running?and what type of tag in the UDT? I can at least confirm that in the Ignition 8 Beta that boolean is an option, and I believe it was in 7.9.10 as well, but I don't have a gateway booted up right now to check.

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [March 12, 2019, 7:16pm UTC](https://forum.inductiveautomation.com/t/why-no-boolean-data-type-parameter-option/23233/3 "2019-03-12T19:16:17Z")

</div>

I’m using 7.9.10.  
 ![Capture](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/0faf66fe7628a1fa26989dcb43d2bda7564436f3.png)

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [March 12, 2019, 7:21pm UTC](https://forum.inductiveautomation.com/t/why-no-boolean-data-type-parameter-option/23233/4 "2019-03-12T19:21:48Z")

</div>

Your screen shot is for a UDT parameter, those are for configuring your tag when you create it from the UDT.  
The actual tags INSIDE the UDT are where you would set the data type to Boolean.  
Parameters are used for building the tag paths, tag names, etc for tags inside the UDT.  
Not for setting the datatype of tags.

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [March 12, 2019, 7:33pm UTC](https://forum.inductiveautomation.com/t/why-no-boolean-data-type-parameter-option/23233/5 "2019-03-12T19:33:52Z")

</div>

I know that, but i want a boolean **UDT parameter**. For user configurable options of the tag. I don’t see why it hasn’t been added as an option.  
A tag inside the UDT is no good for what i’m after. Like i said for something like enabling an alarm, so the engineer can decide when building a tag will it have alarms enabled or not.  
You can do this with an integer and check for UDTParam =1 but thats not as nice.

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [March 12, 2019, 7:35pm UTC](https://forum.inductiveautomation.com/t/why-no-boolean-data-type-parameter-option/23233/6 "2019-03-12T19:35:41Z")

</div>

Typically parameters are used to adjust addressing or names. If they want to enable and change alarm properties, I would just have them use an override for the UDT to turn them on or off. Your alternative can work as well, but I agree, it isn’t a nice solution.

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [March 12, 2019, 7:53pm UTC](https://forum.inductiveautomation.com/t/why-no-boolean-data-type-parameter-option/23233/7 "2019-03-12T19:53:07Z")

</div>

Or create a boolean memory tag inside the UDT for it and reference that?  
Create tag, open tag, toggle boolean?

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [March 13, 2019, 2:50am UTC](https://forum.inductiveautomation.com/t/why-no-boolean-data-type-parameter-option/23233/8 "2019-03-13T02:50:37Z")

</div>

I agree there is many ways to achieve what i’m trying to achieve, but thats just one example. My point is that we should have the flexibility to do what we want, and get creative.  
There is a lot of useful applications for UDT parameters outside of tag addressing.

I guess it’s probably better posted in the Ignition Features Request website.
