Warning on empty assigns

By mariap on 8 Nov 2017

It already happened to me a couple of times - since I have the habit of setting the assign labels, sometimes I forget the assign itself. An empty assign has no logic at all, and therefore should display a True-Change warning to developers.

Hanno9 Nov 2017

I agree that this could indeed be helpful.

You could also try and change your habit by only changing the assign's label after you have set the assign(s).   

I use empty assigns on purpose to make the flow more organized / symmetric. Only in rare cases I do it, though.

I leave the label with a blank space, so you can easily tell that's an empty assign.

Jorge Martins9 Nov 2017

Although I haven't fallen prey of this I don't see how providing more feedback about potential problems would be a bad thing.

That being said, and like Leonardo mentions, empty Assigns are useful as "routers" for more complex action flows.

Justin James9 Nov 2017

We need a better way to route logic than empty assigns:

https://www.outsystems.com/ideas/3319/have-a-placeholder-widget-for-flows

J.Ja