fix(plugin-workflow): ignore queuing executions which workflow has been deleted (#2808)
This commit is contained in:
parent
a3de91b37f
commit
0099b0b280
@ -328,6 +328,9 @@ export default class WorkflowPlugin extends Plugin {
|
||||
const execution = (await this.db.getRepository('executions').findOne({
|
||||
filter: {
|
||||
status: EXECUTION_STATUS.QUEUEING,
|
||||
'workflow.id': {
|
||||
[Op.not]: null,
|
||||
},
|
||||
},
|
||||
appends: ['workflow'],
|
||||
sort: 'createdAt',
|
||||
|
Loading…
Reference in New Issue
Block a user