Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions definitions/standard/data_type/node/node.proto.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"variant": "NODE",
"identifier": "NODE",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name it RUNNABLE

"name": [
{
"code": "en-US",
"content": "Node"
}
],
"rules": [],
"genericKeys": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,10 @@
16.10.2025

## Renamed
break -> stop
break -> stop

01.11.2025

## Added
- if
- if-else
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"runtimeName": "std::control::if",
"runtimeParameterDefinitions": [
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "BOOLEAN"
},
"runtimeName": "condition",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Condition"
}
],
"description": [
{
"code": "en-US",
"content": "Boolean condition to evaluate."
}
],
"documentation": [
{
"code": "en-US",
"content": "Specifies the condition that determines whether the provided node should be executed. If this condition evaluates to true, the execution proceeds with the node defined in the second parameter."
}
]
},
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "NODE"
},
"runtimeName": "thenNode",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Then Node"
}
],
"description": [
{
"code": "en-US",
"content": "Node that will be executed if the condition is true."
}
],
"documentation": [
{
"code": "en-US",
"content": "Defines the node to be executed when the condition evaluates to true. If the condition is false, this node will be skipped and execution will continue with the next element in the flow."
}
]
}
],
"returnTypeIdentifier": null,
"throwsError": false,
"genericKeys": [],
"name": [
{
"code": "en-US",
"content": "If"
}
],
"description": [
{
"code": "en-US",
"content": "Executes the specified node if the condition evaluates to true."
}
],
"documentation": [
{
"code": "en-US",
"content": "The 'If' node evaluates a boolean condition and, if it is true, executes the provided node. If the condition is false, execution continues without running the node. This behavior corresponds to a standard 'if' statement in programming languages."
}
],
"deprecationMessage": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"runtimeName": "std::control::if_else",
"runtimeParameterDefinitions": [
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "BOOLEAN"
},
"runtimeName": "condition",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Condition"
}
],
"description": [
{
"code": "en-US",
"content": "Boolean condition to evaluate."
}
],
"documentation": [
{
"code": "en-US",
"content": "Determines which branch to execute. If true the Then Node runs otherwise the Else Node runs."
}
]
},
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "NODE"
},
"runtimeName": "then_node",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Then Node"
}
],
"description": [
{
"code": "en-US",
"content": "Node to execute when the condition is true."
}
],
"documentation": [
{
"code": "en-US",
"content": "Defines the node that runs if the condition evaluates to true."
}
]
},
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "NODE"
},
"runtimeName": "else_node",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Else Node"
}
],
"description": [
{
"code": "en-US",
"content": "Node to execute when the condition is false."
}
],
"documentation": [
{
"code": "en-US",
"content": "Defines the node that runs if the condition evaluates to false."
}
]
}
],
"returnTypeIdentifier": null,
"throwsError": false,
"genericKeys": [],
"name": [
{
"code": "en-US",
"content": "If-Else"
}
],
"description": [
{
"code": "en-US",
"content": "Evaluates a condition and executes either the Then Node or the Else Node."
}
],
"documentation": [
{
"code": "en-US",
"content": "Evaluates a boolean condition. If true, executes the Then Node; otherwise, executes the Else Node. Mirrors a standard 'if/else' control structure in programming languages."
}
],
"deprecationMessage": []
}