Simple custom alert box tulip widget

From Simple custom alert box tulip widget – Michael Ellerbeck

What if you wanted to pop up a little alert box in Tulip? Currently you can use the alert ‘Toast’

But these fade away. You could also create a whole new step and show your error there.

Or, what if you create a simple javascript tulip custom widget.

We can take advantage of triggering our alert javascript widget based on a change to a variable. (I did this through sending an incrementing number to a counter variable)

The javascript is simply

And then you configure the Alert Box to use the ‘counter’ variable

Profit ???