diff --git a/packages/plugins/@nocobase/plugin-workflow/src/server/triggers/schedule.ts b/packages/plugins/@nocobase/plugin-workflow/src/server/triggers/schedule.ts index 31a7fd3ab..53e5bb6fe 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/server/triggers/schedule.ts +++ b/packages/plugins/@nocobase/plugin-workflow/src/server/triggers/schedule.ts @@ -424,7 +424,7 @@ export default class ScheduleTrigger extends Trigger { } init() { - if (this.plugin.app.name !== 'main') { + if (this.plugin.app.getPlugin('multi-app-share-collection').enabled && this.plugin.app.name !== 'main') { return; }