Passing Data

As discussed in the Flows Fundamentals, we can connect individual nodes together to program out experience.

In addition to passing Pressure through a Flow, we can also pass data. Many nodes provide some data which can be used downstream.

Example

A String node passes the input value from the String output.

The String node passes the input value from the String output. By connecting this to an input on another node, we can use that value downstream.

Passing a String value into another node.

In this example Flow, rather than setting the Path in the Router:goto node, we are passing the value from String into the Path input.

This has the same effect as entering the /welcome string directly into the Path on the node.

Performs the same action as passing the String into Path

While this alone might not seem useful, we can extend this idea by passing data from a dynamic source, such as a Show Variable. If we set a Show Variable redirectUrl to some value, we can update how our guests are redirected during an experience.

We might use this implementation to say send guests to a welcome page during the first 10 minutes of the experience, but have guests who arrive late go stright into the experience. We could do this by updating the redirectUrl Show Variable 10 minute in to a new value of /screening.

For more information about Show Variables, visit the Shows Fundamentals page.

Using a dynamic value as an input allows the experience to change as it goes on.

Last updated

Was this helpful?