An error occurs when creating a record using scheduled workflow. It feels like there is some hidden field that NokoBase cannot read. This collection has normal fields and fields linked to other tables. How to fix this error?
I provide logs before and after the record was created
{“level”:“info”,“message”:“request GET /api/f39_tags:list?pageSize=200&filter=%7B%7D”,“method”:“GET”,“path”:“/api/f39_tags:list?pageSize=200&filter=%7B%7D”,“req”:{“header”:{“x-role”:“root”,“x-hostname”:“localhost”,“x-timezone”:“+07:00”,“x-locale”:“ru-RU”,“x-authenticator”:“basic”}},“app”:“main”,“reqId”:“3f7e0599-67c5-4199-905d-01a4571ed952”,“timestamp”:“2024-07-21 14:32:03”}
{“level”:“info”,“message”:“response /api/f39_tags:list?pageSize=200&filter=%7B%7D”,“method”:“GET”,“path”:“/api/f39_tags:list?pageSize=200&filter=%7B%7D”,“res”:{“status”:200},“action”:{“actionName”:“list”,“resourceName”:“f39_tags”,“params”:{“pageSize”:“200”,“filter”:{},“resourceName”:“f39_tags”,“actionName”:“list”}},“userId”:1,“status”:200,“cost”:5,“app”:“main”,“reqId”:“3f7e0599-67c5-4199-905d-01a4571ed952”,“timestamp”:“2024-07-21 14:32:03”}
{“level”:“info”,“message”:“request GET /api/f39_task_category:list?pageSize=200&filter=%7B%7D”,“method”:“GET”,“path”:“/api/f39_task_category:list?pageSize=200&filter=%7B%7D”,“req”:{“header”:{“x-role”:“root”,“x-hostname”:“localhost”,“x-timezone”:“+07:00”,“x-locale”:“ru-RU”,“x-authenticator”:“basic”}},“app”:“main”,“reqId”:“ec8c9147-1a0d-47f7-9d3e-5221ab6cdff1”,“timestamp”:“2024-07-21 14:32:06”}
{“level”:“info”,“message”:“response /api/f39_task_category:list?pageSize=200&filter=%7B%7D”,“method”:“GET”,“path”:“/api/f39_task_category:list?pageSize=200&filter=%7B%7D”,“res”:{“status”:200},“action”:{“actionName”:“list”,“resourceName”:“f39_task_category”,“params”:{“pageSize”:“200”,“filter”:{},“resourceName”:“f39_task_category”,“actionName”:“list”}},“userId”:1,“status”:200,“cost”:4,“app”:“main”,“reqId”:“ec8c9147-1a0d-47f7-9d3e-5221ab6cdff1”,“timestamp”:“2024-07-21 14:32:06”}
{“level”:“info”,“message”:“request GET /api/f39_task_category:list?pageSize=200&filter=%7B%7D”,“method”:“GET”,“path”:“/api/f39_task_category:list?pageSize=200&filter=%7B%7D”,“req”:{“header”:{“x-role”:“root”,“x-hostname”:“localhost”,“x-timezone”:“+07:00”,“x-locale”:“ru-RU”,“x-authenticator”:“basic”}},“app”:“main”,“reqId”:“9d75d72b-3d24-4976-9a4f-0d22d29ead82”,“timestamp”:“2024-07-21 14:32:08”}
{“level”:“info”,“message”:“response /api/f39_task_category:list?pageSize=200&filter=%7B%7D”,“method”:“GET”,“path”:“/api/f39_task_category:list?pageSize=200&filter=%7B%7D”,“res”:{“status”:200},“action”:{“actionName”:“list”,“resourceName”:“f39_task_category”,“params”:{“pageSize”:“200”,“filter”:{},“resourceName”:“f39_task_category”,“actionName”:“list”}},“userId”:1,“status”:200,“cost”:5,“app”:“main”,“reqId”:“9d75d72b-3d24-4976-9a4f-0d22d29ead82”,“timestamp”:“2024-07-21 14:32:08”}
{“level”:“info”,“message”:“request POST /api/regular_tasks:create”,“method”:“POST”,“path”:“/api/regular_tasks:create”,“req”:{“header”:{“x-role”:“root”,“x-hostname”:“localhost”,“x-timezone”:“+07:00”,“x-locale”:“ru-RU”,“x-authenticator”:“basic”}},“app”:“main”,“reqId”:“d823bf10-2c60-4a89-8bc5-7ad6c8a418c9”,“timestamp”:“2024-07-21 14:32:08”}
TypeError: Cannot read properties of undefined (reading ‘length’)
at Object.length (/app/nocobase/node_modules/delegates/index.js:72:24)
at isArrayLike (/app/nocobase/node_modules/lodash/lodash.js:11401:46)
at keys (/app/nocobase/node_modules/lodash/lodash.js:13375:14)
at baseGetAllKeys (/app/nocobase/node_modules/lodash/lodash.js:3094:20)
at getAllKeys (/app/nocobase/node_modules/lodash/lodash.js:5916:14)
at baseClone (/app/nocobase/node_modules/lodash/lodash.js:2726:39)
at /app/nocobase/node_modules/lodash/lodash.js:2733:34
at arrayEach (/app/nocobase/node_modules/lodash/lodash.js:530:11)
at baseClone (/app/nocobase/node_modules/lodash/lodash.js:2727:7)
at /app/nocobase/node_modules/lodash/lodash.js:2733:34