Running Javascript, that "if true", changes field in DB

As @mebeingken, notes you can run JavaScript in the expression element (which returns a value to Bubble via the Expression’s value field), but you can also use Toolbox’s Run JavaScript action in a workflow that then passes the value back to Bubble via Toolbox’s JavaScript to Bubble element.

A very simple video explanation of how to use that action/element pair, can be found here: