fix(10-07): fix batch update data chain reference
- Prepare Batch Update Input now uses Build Progress Message reference - Fixes 'Cannot read properties of undefined' error - Data chain: Build Progress Message -> Edit Progress Message -> Prepare Batch Update Input
This commit is contained in:
+1
-1
@@ -4686,7 +4686,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"jsCode": "// Prepare input for Container Update sub-workflow\nconst data = $json;\nconst container = data.container;\n\n// Extract container info\nconst containerId = container.id || container.Id || '';\nconst containerName = container.name || container.Name || '';\n\nreturn {\n json: {\n containerId: containerId,\n containerName: containerName,\n chatId: data.chatId,\n messageId: data.progressMessageId || 0,\n responseMode: \"inline\"\n }\n};"
|
"jsCode": "// Prepare input for Container Update sub-workflow\nconst data = $('Build Progress Message').item.json;\nconst container = data.container;\n\n// Extract container info\nconst containerId = container.id || container.Id || '';\nconst containerName = container.name || container.Name || '';\n\nreturn {\n json: {\n containerId: containerId,\n containerName: containerName,\n chatId: data.chatId,\n messageId: data.progressMessageId || 0,\n responseMode: \"inline\"\n }\n};"
|
||||||
},
|
},
|
||||||
"id": "caeae5d6-f9ec-4aa3-83d3-198b6b55be65",
|
"id": "caeae5d6-f9ec-4aa3-83d3-198b6b55be65",
|
||||||
"name": "Prepare Batch Update Input",
|
"name": "Prepare Batch Update Input",
|
||||||
|
|||||||
Reference in New Issue
Block a user