6
 Followers
34
 Likes

True and False in Expression Editor

Service Studio
Implemented
on 04 Mar 2019
Development Environment Release 15

A no-brainer: having the possibillity in the Expression Editor to click on a true or false button to have the text.

Just like you have now with the null identifiers.

Yes, its lazy but that's the common thread with developers :)

Created on 1 Mar 2016
Comments (18)
Even though I am lazy, i never click on those :P

Besides that, nothing against it
Simple to implement, and has the advantage of letting beginners know what are the boolean literals by pressing the buttons on the first times they need them. :)
I'm pretty sure I created this idea years ago. Let's search... Yes, it's there twice. Here and here.
It would be useful if the Expression Editor had a shortcut button "True"/"False" in the choices:
 
Actually we can edit almost everything by clicking mouse, but we always have to write the boolean condition.

Merged from 'Expression Editor - Add True/False Button to expression' (idea created on 2016-02-17 11:02:52 by José Ventura), on 2016-03-31 19:09:26 by Goncalo Borrega
This is a double of this one, and recently there is this one. They should all be merged.

Merged from 'Expression Editor - Add True/False Button to expression' (idea created on 2016-02-17 11:02:52 by José Ventura), on 2016-03-31 19:09:26 by Goncalo Borrega
Merged this idea with 'Add True and False to Query Condition of Simple Query' (created on 2012-11-21 16:13:50 by Kilian Hekhuis)

We have quite a number of booleans in our tables, and I very often have to type "true" or "false". Since there's already a "null" button, adding True and False button shouldn't be too difficult, and it would safe the user from having to move their hand from the mouse to the keyboard and back again.



Merged from 'Add True and False to Query Condition of Simple Query' (idea created on 2012-11-21 16:13:50 by Kilian Hekhuis), on 2016-03-31 19:09:53 by Goncalo Borrega
Also see this idea: https://www.outsystems.com/ideas/Idea_View.aspx?IdeaId=1556 which would eliminate the need for this idea :).

Merged from 'Add True and False to Query Condition of Simple Query' (idea created on 2012-11-21 16:13:50 by Kilian Hekhuis), on 2016-03-31 19:09:53 by Goncalo Borrega

Up, this would be a good time optimizer.

I thought it would be a good idea if we had 'True' and 'False' buttons as options in the Expression Editor window, just like we have ''not' 'and', 'or', 'like', etc...



This comment was:
- originally posted on idea 'True & False buttons in the Expression Editor' (created on 29 Nov 2018 by Thabiso Leboko)
- merged to idea 'True and False in Expression Editor' on 29 Nov 2018 14:29:03 by Vasco Pessanha
Merged this idea with 'Add 'True' and 'False' button to expression screen' (created on 03 Jan 2019 13:18:41 by Raymond Lips)

In a lot of cases I need to validate a boolean by an expression. It would be helpfull if there would be a button for 'True' and 'False'. 

I know that in P11 you don't need the 'X = true', but it still is usefull for 'X = False'



This comment was:
- originally posted on idea 'Add 'True' and 'False' button to expression screen' (created on 03 Jan 2019 by Raymond Lips)
- merged to idea 'True and False in Expression Editor' on 04 Jan 2019 09:11:42 by Vasco Pessanha

Why not use "Not X" instead of " X = False"



This comment was:
- originally posted on idea 'Add 'True' and 'False' button to expression screen' (created on 03 Jan 2019 by Raymond Lips)
- merged to idea 'True and False in Expression Editor' on 04 Jan 2019 09:11:42 by Vasco Pessanha

Hi Daniël,


I'm working on P10 and have to use X=true/false. That is why I came up with this idea, but you are right. In P11 it makes more sense to use  "Not X" instead of " X = False".



This comment was:
- originally posted on idea 'Add 'True' and 'False' button to expression screen' (created on 03 Jan 2019 by Raymond Lips)
- merged to idea 'True and False in Expression Editor' on 04 Jan 2019 09:11:42 by Vasco Pessanha
Changed the status to
Implemented
on 04 Mar 2019


Hi Hans,

I'm happy to announce that from now on Expression Editor now has buttons for True and False boolean values. 

You can find your contribution to the product in the release notes.

Thank you so much and keep the ideas coming!

Hans? Why Hans? The original idea was mine, from 2012, it has been merged wrong!


Hey Kilian, you're right! This idea was wrongly merged in the past.

We'll talk with the Community Ideas Team to see what we can do about this.

views
1800
Followers
6