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?
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.
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?
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.
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.