chore(10-01): remove 2 orphan nodes from workflow
Cleaned up orphan nodes before modularization: - Removed "Answer Batch Exec" (httpRequest at [1340, 900]) - Removed "Batch Loop" (splitInBatches at [3100, -500]) Both nodes had no incoming connections and were vestigial from earlier batch operation development that was replaced. Node count: 248 -> 246 Deployed and verified working via n8n API.
This commit is contained in:
@@ -4538,24 +4538,6 @@
|
||||
800
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"method": "POST",
|
||||
"url": "=https://api.telegram.org/bot{{ $env.TELEGRAM_BOT_TOKEN }}/answerCallbackQuery",
|
||||
"sendBody": true,
|
||||
"specifyBody": "json",
|
||||
"jsonBody": "={{ JSON.stringify({ callback_query_id: $json.queryId }) }}",
|
||||
"options": {}
|
||||
},
|
||||
"id": "http-answer-batch-exec",
|
||||
"name": "Answer Batch Exec",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.2,
|
||||
"position": [
|
||||
1340,
|
||||
900
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"method": "POST",
|
||||
@@ -4681,20 +4663,6 @@
|
||||
-500
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"batchSize": 1,
|
||||
"options": {}
|
||||
},
|
||||
"id": "loop-batch",
|
||||
"name": "Batch Loop",
|
||||
"type": "n8n-nodes-base.splitInBatches",
|
||||
"typeVersion": 3,
|
||||
"position": [
|
||||
3100,
|
||||
-500
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"jsCode": "// Build progress message for current container\nconst data = $json;\nconst container = data.container;\nconst action = data.action;\nconst currentIndex = data.currentIndex;\nconst totalCount = data.totalCount;\nconst successCount = data.successCount || 0;\nconst failureCount = data.failureCount || 0;\n\nconst containerName = container.Name || container;\nconst current = currentIndex + 1;\n\nlet progressText = `<b>Batch ${action} in progress...</b>\\n\\n`;\nprogressText += `Current: <b>${containerName}</b>\\n`;\nprogressText += `Progress: ${current}/${totalCount}\\n\\n`;\n\nif (successCount > 0 || failureCount > 0) {\n progressText += `Completed: ${successCount} success`;\n if (failureCount > 0) {\n progressText += `, ${failureCount} failed`;\n }\n}\n\nreturn {\n json: {\n ...data,\n progressText: progressText,\n containerName: containerName\n }\n};"
|
||||
@@ -7895,11 +7863,6 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
"Batch Loop": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Build Progress Message": {
|
||||
"main": [
|
||||
[
|
||||
@@ -8083,17 +8046,6 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
"Answer Batch Exec": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Prepare Batch Exec",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Prepare Batch Exec": {
|
||||
"main": [
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user