Replies: 2 comments
-
hey @athene20 - the Row Action action is expecting a single Row id, while the selected rows binding is an array of ids. You could make an App action automation to loop over the selected ids instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
Hosting
Describe the bug
When using Table.Selected Rows to integrate Row Action, "CouchDB error: missing" error occurred.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Row Action is called correctly.
Screenshots
App Export
{
"browser": {
"language": "ko-KR",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Whale/4.29.282.15 Safari/537.36",
"platform": "Win32",
"vendor": "Google Inc."
},
"server": {
"budibaseVersion": "3.2.46",
"hosting": "docker",
"nodeVersion": "v20.17.0",
"platform": "linux",
"cpuArch": "arm64",
"cpuCores": 4,
"cpuInfo": "Neoverse-N1",
"totalMemory": "23.4283447265625GB",
"uptime": "957 day(s), 23 hour(s), 30 minute(s)"
}
}
Desktop (please complete the following information):
Additional context
It's reproducable fetch code.
If the Body part is ‘body’: ‘{\‘rowId\’:\‘ro_ta_c6ccc9ad0689494fbfa4c50621b9158c_001d52b43a384c2c8d1d927aa0e8973e\’}’ and it will be called without any problems.
(Body captured from data source - action button)
fetch("https://BUDIBASE/api/tables/ta_c6ccc9ad0689494fbfa4c50621b9158c/actions/row_action_e1170d9f17f5404d8b7f0ae10b2ebf76/trigger", {
"headers": {
"accept": "application/json",
"accept-language": "ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7",
"content-type": "application/json",
"priority": "u=1, i",
"sec-ch-ua": ""Chromium";v="130", "Whale";v="4", "Not.A/Brand";v="99"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": ""Windows"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-budibase-api-version": "1",
"x-budibase-app-id": "app_5e9d95b1d5854969b47ce1f0acb9f3a0",
"x-budibase-session-id": "cdcb59a4c263b4c1e93ebf5bee4c18f4f",
"x-budibase-type": "client",
"x-csrf-token": "133eb74a-63fc-4110-8c19-ec545cfe58b8"
},
"referrer": "https://BUDIBASE/app/my-first-app",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{"rowId":"[{\"SERIAL_NO\":\"XXXX\",\"VENDOR\":\"GIGAMON\",\"MODEL_NAME\":\"GMONXGFLRCGIGE2\",\"SERIES\":\"SFP+-10GBase-LR\",\"ASSET_STATUS\":\"BB\",\"ASSET_NO\":\"000874\",\"ASSET_PURCHASE_DATE\":\"2024-04-06T00:00:00.000Z\",\"ASSET_PURCHASE_PRICE\":6083000,\"CATEGORY\":\"GBIC\",\"_id\":\"ro_ta_c6ccc9ad0689494fbfa4c50621b9158c_010b206fd03046509dfd09ef44913996\",\"_rev\":\"2-725dc1882c202d21937cb11bf8f461c9\",\"type\":\"row\",\"createdAt\":\"2025-01-19T08:57:07.277Z\",\"updatedAt\":\"2025-01-19T08:57:15.176Z\",\"tableId\":\"ta_c6ccc9ad0689494fbfa4c50621b9158c\"},{\"SERIAL_NO\":\"XXXX\",\"VENDOR\":\"GIGAMON\",\"MODEL_NAME\":\"GMON1318P3BTL-G\",\"SERIES\":\"SFP-1GBase-LX\",\"ASSET_STATUS\":\"AA\",\"ASSET_NO\":\"000826\",\"ASSET_PURCHASE_DATE\":\"2022-11-30T00:00:00.000Z\",\"ASSET_PURCHASE_PRICE\":8080000,\"CATEGORY\":\"GBIC\",\"_id\":\"ro_ta_c6ccc9ad0689494fbfa4c50621b9158c_01437e6c357d484d9485be9d90036baf\",\"_rev\":\"2-4e03fdcbbe617b24e95dd55c9f9bdcb2\",\"type\":\"row\",\"createdAt\":\"2025-01-19T08:57:07.277Z\",\"updatedAt\":\"2025-01-19T08:57:16.345Z\",\"tableId\":\"ta_c6ccc9ad0689494fbfa4c50621b9158c\"}]"}",
"method": "POST",
"mode": "cors",
"credentials": "include"
});
Beta Was this translation helpful? Give feedback.
All reactions