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
| Data | Description |
|---|---|
| Properties | Comma-separated list of properties to update. |
Property Values
| Data | Description |
|---|---|
| * | Dynamic inputs for the values to set. |
Property Types
| Data | Description |
|---|---|
| * Type | Configuration to specify the data type (String, Number, Boolean, etc.) for each property. |
Actions
| Signal | Description |
|---|---|
| Do | Triggers the update. |
Outputs
Events
| Signal | Description |
|---|---|
| Done | Triggered 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
- Component Object defines
isLoadinganddata. - REST Node fetches data.
- On Success, Set Component Object Properties sets
isLoadingtofalseanddatato 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.
Was this page helpful?