Warning on empty assigns

Service Studio
On our radar

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.

Created on 8 Nov 2017
Comments (4)

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.

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.

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