Does showing a Popup suspend or terminate the workflow?

Perhaps I assumed too much, but I couldn’t find an unambiguous explanation in the reference or manual, so I did make some assumptions.

According to the manual, “a popup will have a modal behavior – in other words, if the popup doesn’t get closed, the user won’t be able to click anywhere else outside of the popup.”

I took that to mean that the workflow that showed the popup would be suspended and resume when the popup is closed. Is that too bold an assumption? Does the workflow terminate? Does it run to completion while the popup is opening?

In general, is there any way to put a workflow into suspense, waiting for some action to cause it to resume?

Hi @laurence.

It actually doesn’t work that way. Think of showing a pop-up, to be the same as showing any other element… It is simply shown. There is no impact on the rest of the workflow, it will continue on to completion. Other than temporarily pausing the client side actions in a workflow for a number of milliseconds, there isn’t a way to suspend and wait for user input. You might consider a set of actions when the pop-up opens, and a separate set when it closes, or actions when the user clicks something else.

Oh, and the pop-up as a modal can be controlled to either allow click outside it (or escape) the pop-up to close, or not.

2 Likes

Thanks, Ken.

I’ve searched the manual and reference but don’t see where to control whether clicking outside or pressing Escape is available to the user. Can you point me to the right place?

Sure…It is the "This popup can’t be closed by pressing ‘Esc’ checkbox found on the element properties.

Now I’m really confused.

I must have created a reusable element, classified as a popup that doesn’t have all the properties of a popup.

Here’s what I see:
image

I’ve scrolled up and down 'til my eyes rolled up to the back of my head but there is no “This popup can’t be closed by pressing ‘Esc’” option.

I do want the popup to be reusable on multiple pages. How do I define it as a reusable element without losing the popup properties?

When you create a popup as a reusable element, the “This popup can’t be closed by pressing Esc” applies to the specific instances of that popup (ie. when you drop it on a specific page). It isn’t visible as part of the reusable element’s appearance settings.

learnbubble-walkthrough%20_%20Bubble%20Editor%20(2)

1 Like

If it is a reusable element, then that check box will be set wherever you place the reusable object. So if you put it on a page, go to that page, and select…should be there.

Thank you, @dan1 and @mebeingken.

It makes sense.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.