Open modal from a workflow?

I have a workflow that takes some time to execute
I want to show a modal popup while processing is going on and then close the modal when the process is completed.

How can I trigger opening a modal from a workflow ?
(Also close later)

1 Like

Nvm. Found it myself.

Create a boolean variable that controls modal
Change value of that variable inside workflow

2 Likes