Use cell content in workflows
The "On State Change" event from the State Machine will be triggered as soon a state is executed.
This event includes all data from the cells.
Within workflows, it's easy to bind this cell data to other actions.
Event data
Each data cell will provide its own content within the event.


Keep in mind that when you rename columns, the data path will change accordingly.
Data followed execution
The active state provides the cell data in the event, making it easy to use the cell content without complex setups.

Simple OSC example
Please find the project within Grid Studio under the template projects.
The goal is to send OSC messages based on different states.
Both the value and the OSC path should be defined in the cells.

Add a State Machine and define the data columns
Add a State Machine object to the project tree.
For this example, we need two columns in the State Machine:
Rename the column appropriately.

Fill the cells with content
Fill the cells with some data.

Add an OSC project tree device
To send OSC messages, we need an OSC IO-Connection in the project tree.

Add an OSC action to the workflow of the State machine
Open the workflow of the State Machine.
Drag and drop the OSC device into the workflow to create the "send Float" action.

Link the cell data to the OSC action
Drag the “CellContent“ from the “OSC Path“ in the data panel into the action.
Drag the 'CellContent' from the 'Value' in the data panel into the action.

Done — this completes the setup to connect the cell content with an action.
Last updated