open modal

This block is part of the state ui group and was last modified in core v10.4.28.

open modal v10.4.28

Opens the given modal within the current spark / state page.

In pins 1 + flow
  • flow
    flow
  • data
    object

    Data to be passed into the modals payload, to be used within the modal

Out pins 0 + flow
  • flow
    flow

In the Go engine this behaves exactly like custom execute: it calls the selected function synchronously and maps its return values back, passing the data pin through like any other input. It does NOT itself open or signal any modal UI.

show modal
execute modal

A typical wiring for open modal: a function trigger starts the flow; the flow out pin feeds debug.

Studio canvas example for the open modal block: typical wiring for open modal.

Version history

Introduced in v10.4.28.


Back to state ui Return to the main group to view all sub-groups Back to function Return to the group to view all blocks within this group