Files
nocobase/packages/plugins/@nocobase/plugin-workflow-javascript/src/server
Junyi 3cc5c196ab feat(plugin-workflow): add timeout option for workflows (#9363)
* feat(plugin-workflow): add timeout option for workflows

* fix(plugin-workflow): fix types

* fix(plugin-workflow): fix types

* fix(plugin-workflow): fix test cases

* refactor(plugin-workflow): use app time instead of db time

* fix(plugin-workflow): add options label

* refactor(plugin-workflow): remove millisecond unit for timeout

* refactor(plugin-workflow): not to use scan executions

* refactor(plugin-workflow): adapt manual type nodes

* fix(plugin-workflow): fix test case

* fix(plugin-workflow-manual): fix types

* test(plugin-workflow): add test case

* refactor(plugin-workflow): change dispatcher APIs for single duty principle and better understanding

* refactor(plugin-workflow): add lock for query from db queue

* fix(plugin-workflow): fix transaction

* feat(plugin-workflow): add unit of days for timeout setting

* fix(plugin-workflow): fix timeout component

* fix(plugin-workflow): abort all pending nodes when execution aborted

* fix(plugin-workflow-request): fix request instruction failure status

* fix(plugin-workflow-manual): add fault-tolerant for no field in custom form submitted

* feat(plugin-ai): add timeout for ai nodes

* fix(plugin-workflow): fix types

* refactor(plugin-workflow): simplify code of rerun logic

* refactor(plugin-workflow): change loaded to immediate

* fix(plugin-workflow): change 409 to 400
2026-05-29 09:51:59 +08:00
..