触发器配置不正确

再单机win10中通过docker安装。之前工作流都可以配置和正常执行。后面更新了一次nocobase版本后,工作流就不能使用了,具体就是工作流设置流程后,点击启用,但是在“配置操作”、“绑定工作流”中没有设置好的工作流,并且点击手动执行提示“触发器配置不正确,请检查触发器配置”。在内网中已重新删除创建容器2次了,nocobase版本试过16、17,postgres的版本也试过14、16,现在都不能正常用工作流。求解答。


这是错误日志:{“level”:“error”,“message”:“Diagnosis, frontend error, Cannot read property ‘titleField’ of undefined”,“stack”:“TypeError: Cannot read property ‘titleField’ of undefined\n at render (http://localhost:13000/static/plugins/@nocobase/plugin-workflow/dist/client/index.js?version=1.6.14&t=1743221641000:10:55361)\n at I (http://localhost:13000/static/plugins/@nocobase/plugin-workflow/dist/client/index.js?version=1.6.14&t=1743221641000:10:334378)\n at ko (http://localhost:13000/umi.64dcea08.js:51:20361)\n at bc (http://localhost:13000/umi.64dcea08.js:53:44653)\n at Cc (http://localhost:13000/umi.64dcea08.js:53:40310)\n at ef (http://localhost:13000/umi.64dcea08.js:53:40238)\n at Bs (http://localhost:13000/umi.64dcea08.js:53:40092)\n at Sl (http://localhost:13000/umi.64dcea08.js:53:36385)\n at Oc (http://localhost:13000/umi.64dcea08.js:53:35336)\n at w (http://localhost:13000/umi.64dcea08.js:53:88683)”,“meta”:{},“module”:“logger”,“submodule”:“collect”,“method”:“”,“app”:“main”,“reqId”:“93e41840-a29a-4647-a7a7-c31acf3f4849”,“dataSourceKey”:“main”,“timestamp”:“2025-06-09 14:46:58”} {“level”:“error”,“message”:“Diagnostic information”,“meta”:{“location”:{“pathname”:“/admin/workflow/workflows/1”,“search”:“”,“hash”:“”,“state”:null,“key”:“niz1beg9”},“schema”:{“_isJSONSchemaObject”:true,“version”:“2.0”,“type”:“object”,“title”:“{{t("Trigger data", { ns: "workflow" })}}”,“description”:“{{t("Choose a record or primary key of a record in the collection to trigger.", { ns: "workflow" })}}”,“x-decorator”:“FormItem”,“x-component”:“TriggerCollectionRecordSelect”,“default”:null,“required”:true,“name”:“data”}},“module”:“logger”,“submodule”:“collect”,“method”:“”,“app”:“main”,“reqId”:“93e41840-a29a-4647-a7a7-c31acf3f4849”,“dataSourceKey”:“main”,“timestamp”:“2025-06-09 14:46:58”} {“level”:“error”,“message”:“Diagnosis, environment variables”,“meta”:{“APP_ENV”:“production”,“APP_PORT”:“13000”,“API_BASE_PATH”:“/api/”,“API_BASE_URL”:“”,“DB_DIALECT”:“postgres”,“DB_UNDERSCORED”:“false”,“DB_TIMEZONE”:“+08:00”,“DB_LOGGING”:“off”},“module”:"log

这是deepseek的回答:我们收到的是前端错误日志,主要错误是:Cannot read property 'titleField' of undefined。这个错误发生在工作流插件的某个组件中(@nocobase/plugin-workflow)。从堆栈信息看,是在渲染工作流配置时尝试访问一个未定义对象的titleField属性。

Loading… (nocobase.com)

请在这个环境中最小化复现一下

麻烦贴一下当前这个触发器的配置内容。

解决了,不好意思,是我蠢了,在第一个区块没有选择要操作的数据库。对比你们提供的demo里的工作流才发现。