Disable Workflow Action

I would like to disable one action within a workflow.

Does anyone have a work around for this?

Seems like something that should be implemented by Bubble in the action editor. Functionally the equivalent of commenting out some code within a function. For reference, I have an action that sends users a confirmation text, I want to disable it while I am testing. But the use case generalizes.

4 Likes

Yeah, would be a good UX tweak :slightly_smiling_face:

Currently the workaround is to set the condition for the action you want to disable to something that is permanently false.

For instance - Current date/time is empty, or Website URL is empty.

Both of the above will never be true, so your action step will never run until the condition is not removed (un-commented, if you wish :slight_smile:)

Hope this helps :+1:

1 Like

Think this is the best solution given the current UI. Thanks!

Allen, the lead of product, also pointed out to me that you could use a custom event to achieve the same functionality.

1 Like

Yep, agreed.

But if you just want to “comment out” one\two steps of the way to test some things out, then revert it back maybe - making custom events out of those seems to be an overkill.

Just set “only when” to an impossible situation (an expression that always evaluates “no”) — examples:

“No”

:point_up: Trick answer, you can’t construct this expression in Bubble (aside:there is no good reason for this).

Answers that work:

  • Current date/time is empty

  • This URL is empty

  • (1) create a boolean custom state anywhere with default “no” (2) set the condition to that custom state

There are many other options, but those are the best at the moment (“this URL is empty” is the best for reasons I will leave as an exercise to the reader).

2 Likes

A more visual way


4 Likes

Now that’s smart :slight_smile:

1 Like

I like it. Still, a one-click feature to do this with a visual indicator (like the :no_entry_sign: badge that was added for disabled workflows) would be ideal.

2 Likes

this shouldn’t be a hard thing to implement, but definitely a game changer in lots of cases.

Definitely needs more attention

1 Like