Add Boolean data type for options | Community
Skip to main content
Level 2
Feb 28, 2019 7:05 PM UTC
Approved

Add Boolean data type for options

We are developing a workflow in which some steps will only run if a custom option is set to True.

When creating a custom option (Administration > Application Settings > Options), you can set the Data Type to Text, Integer, Floating Point, Date+Time, or Long Text.  However, Boolean is not a possible Data Type for an Option.

It would be helpful to have a Boolean as a possible Data Type for Options.  This would allow for the definition of Yes/No or True/False options without needing to rely on a convention such as 1/0, Y/N, or T/F in a Text or Integer field.  The option could then be used in queries inside workflows to act as an if/then condition.

5 replies

Sukrity_Wadhwa
Employee
Feb 3, 2021 11:22 AM UTC

This is in our backlog and would be updated here once delivered.

Translate
Sukrity Wadhwa
asish_kumarp599
Level 4
Aug 23, 2019 4:32 PM UTC

This is great. Thanks for for sharing the steps!

Translate
bgsueeidAuthor
Level 2
Aug 23, 2019 3:58 PM UTC

When you set up the Query step in the workflow, on the Properties tab, set the Resource and Targeting Dimension to "Option (option)".

Then on the Target tab you'll have access to an "Option (attribute)" tile.   Drag this into the dropzone and create one condition to check the ID of the option and another condition to check the value of the condition.

For example, to check if option "myOption" is equal to 1:

Translate
asish_kumarp599
Level 4
Aug 23, 2019 1:52 PM UTC

How can we use or read the custom option value in ACS?

Translate
ericperrin
Employee
Jun 10, 2019 12:03 PM UTC

This is a good idea. We will add this into our backlog and work on this as soon as we have an opportunity. For the moment, this is not prioritized.

Translate