How to add modal dialog on Submitting screenflow assignement

Hi everyone!

I have a ScreenFlow with 5 assignments.
When I submit 5th assignment, I need to evaluate the When rule, and if it is true, I should show a modal dialog with the text “Are you sure?” and two buttons YES/NO.
So, if “Yes” - move ahead
if “No” - stay here and do nothing

How can I implement this?

P.S.
I tried to implement this way:

  1. Run post-processing Activity on flow action
  2. Evaluate when in Activity
  3. Call ProcessAction with Method parameters:
    NewTaskStatus → ‘My flow action’ i created
    ActionSection->‘My Section’ i used in ‘My flow action’
    StreamType / StreamClass → Rule-HTML-Section
    bIsModal->true
    However, modal dialog did not appear.

Any ideas or workaround?

Hello @AlekseiU

You can try to create Event-Action set in cell properties Actions tab of Submit button.

Event -Click, Action - Local Action (You can call your when rule here).

YOURFLOWACTION - Flow action that calls section with the text “Are you sure?”. And replace SUBMIT/Cancel with Yes/No button in actions tab of YOURFLOWACTION.