Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!

Add Boolean data type for options

Avatar

Level 4

28-02-2019

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 Comments

Avatar

Employee

10-06-2019

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.

Avatar

Level 4

23-08-2019

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

ACS Query Option Resource.png

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:

ACS Query Option.png

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now