Flux Product Docs
  • What is Flux?
  • Guides
    • Creating a Premium Video
    • Creating Your First Site
    • Creating a Countdown
    • Creating a Navigation Bar
    • Creating a Group
    • Custom 404 Page
    • Adding a Favicon to Your Site
    • Adding Videos to Your Site
    • Managing Your Guest List
    • Asset Management
    • Creating Sites from Site Templates
    • Publishing Site Versions
    • Advanced Debugging
  • Fundamentals
    • Key Concepts
    • Sites
    • Guests
    • Environments
      • Show Variables
    • Flows
      • Anatomy of a Node
      • Connecting Nodes and Building Flows
      • Passing Data
      • Scope
      • Interpolation
    • Keyboard Shortcuts
      • Keyboard Shortcuts - Page Editor
    • Animation States
    • Local Variables
    • Groups
  • Use Cases
    • For Designers
    • For Engineers
      • Custom CSS
      • Custom Modules
    • For Event Manager
      • Intercom Integration
  • Documentation
    • FAQ
    • Glossary
    • 🚀Show Controller
      • Modes
    • Domains and Subdomains
      • Hover
      • AWS Route 53
    • Premium Live Channels
    • Basic Video
    • Premium Video
      • AI Generated Subtitles
      • Supported Input Codecs and Containers
      • Supported Language Labels
      • Serverside Forensic Watermarking
    • Flow Nodes
      • Middleware
  • Modules
    • Access Code
    • Audio
    • Button
    • Carousel
    • Chat
    • Checkbox
    • Container
    • Countdown
    • Date
    • Embed
    • Image
    • Intercom
    • Link
    • Lottie
    • Page
    • Meter
    • Modal
    • Photobooth Gallery
    • Open Login
    • QR Code
    • Radio
    • Rich Text
    • Stack
    • Style
    • Spline
    • Switch
    • Text Input
    • Video
  • Template Guides
    • NatGeo FYC
      • Adding a Panel
    • Meow Wolf All Shrimps
  • 🚀Change Logs
    • July 12, 2024
    • June 08, 2024
    • April 26, 2024
    • April 12, 2024
    • March 29, 2024
    • March 15, 2024
    • March 1, 2024
    • September 2022
    • August 2022
    • July 2022
    • June 2022
Powered by GitBook
On this page
  • Example
  • A Welcome Page
  • A Screening Page
  • An End Page
  • Let's build that flow:

Was this helpful?

  1. Fundamentals
  2. Flows

Scope

Last updated 2 years ago

Was this helpful?

By default, a node will be scoped to all instances of it's module across all pages of your site.

For example, a Video:OnEnded Broadcast node will trigger when any video on any page ends.

We can scope a node to a specific instance of a module by using the About field on the node.


Example

We have a site with three pages:

A Welcome Page

A Screening Page

An End Page

We want to build a flow that will send the user to the End page when the video on Screening page ends. But if the user watches the trailer on the Welcome page, we do not want to send them to the End page.

Let's build that flow:

This will work to send the user to the End page when the video ends. However, this will send the user to the End page when any video ends.

We want to tell the Flow Controller to only pressurize this flow when the specific video on the Screening page ends. We can do this by specifying the instance in the About field of the Video:ended node.

In the Page Editor, select the Video Player module on the Screening page, and click the Copy Id button.

Paste that value into the About field on the Video:ended node.

Now, this Video:ended Broadcaster node will only pressurize when that specific video ends.