fix(10-07): fix batch action data chain reference
- Prepare Batch Action Input now uses Build Progress Message reference - Fixes 'Cannot read properties of undefined' error for batch actions - Data chain: Build Progress Message -> Edit Progress Message -> Prepare Batch Action Input
This commit is contained in:
+1
-1
@@ -4730,7 +4730,7 @@
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"jsCode": "// Prepare input for Container Actions sub-workflow\nconst data = $json;\nconst container = data.container;\nconst action = data.action;\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 action: action,\n chatId: data.chatId,\n messageId: data.progressMessageId || 0,\n responseMode: \"inline\"\n }\n};"
|
||||
"jsCode": "// Prepare input for Container Actions sub-workflow\nconst data = $('Build Progress Message').item.json;\nconst container = data.container;\nconst action = data.action;\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 action: action,\n chatId: data.chatId,\n messageId: data.progressMessageId || 0,\n responseMode: \"inline\"\n }\n};"
|
||||
},
|
||||
"id": "958f19ef-249b-42ca-8a29-ecb91548f1dd",
|
||||
"name": "Prepare Batch Action Input",
|
||||
|
||||
Reference in New Issue
Block a user