Skip to main content

Set Component Object Properties

This node updates multiple properties of the current component's state object at once.

The Set Component Object Properties node is a write-only utility for component state.

The Set Component Object Properties node allows you to write values to the component's internal state (defined by a Component Object node elsewhere in the graph). It is useful when you want to update state from a specific action flow without reading the values.

Inputs

Properties

DataDescription
PropertiesComma-separated list of properties to update.

Property Values

DataDescription
*Dynamic inputs for the values to set.

Property Types

DataDescription
* TypeConfiguration to specify the data type (String, Number, Boolean, etc.) for each property.

Actions

SignalDescription
DoTriggers the update.

Outputs

Events

SignalDescription
DoneTriggered when the update is complete.

Usage

Use this to cleanly separate your "State Definition" (Component Object) from your "State Logic" (Set Component Object Properties).

Example

  1. Component Object defines isLoading and data.
  2. REST Node fetches data.
  3. On Success, Set Component Object Properties sets isLoading to false and data to the result.

Detailed Behavior

  • Atomic Update: Updates all connected properties in a single batch operation.

Troubleshooting

  • Property Mismatch: Ensure the property names match those defined in the main Component Object node.