Changing True/False sides in Decision flow

studio
control_flow

#1

Hi all,

It would be helpful to have the option to switch the side of the true/false flows in a decision. Sometimes it just makes more sense to have the ‘True’ on the right side in order to have a cleaner view :slight_smile:


#2

I agree :slight_smile:

Alternatively, you can switch the sides by changing the condition to the opposite. Like, change “value=0” to “value<>0” or “boolean” to “not boolean”. I do this right now to create a clean workflow, but I do agree if there was more flexibility in the options.


#3

On the right hand side - in properties pane - you have False Label and True Label.

Old - > False Label - False

Change it to -> False Label - True

Old - > True Label - True

Change it to -> True Label - False


#4

Tip that you can change labels is nice, but as a whole that’s a really bad idea, as it leads to these kind of situations that will inevitably lead to bugs that are frustrating to correct:

@ClaytonM’s advice is much better, especially if coupled with the label changing that you mentioned.


#5

Currently I do change how I define my condition, but it would be nice to just be able flip the sides including the labels, just like Blue Prism offers. It seems like a fairly easy and straightforward change to be included. At the end of the day, I’m of the opinion that UiPath as a tool should allow me to work how I initially intend it, with a minimum of ‘workarounds’ :innocent:


#6

Isn’t it same as Switch flow of Boolean type (ignoring the Default case)


#7

Didn’t see that answer for whatever reason…

Yes, it is basically the same (although I’d make False the default).
I remember a chat with @richarddenton ages ago that this would be useful for people used to process design (correct flow usually goes right or down).
That basically went nowhere in the end, but it was before community activities repo. Anyone up for the challenge? :wink: