mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
fix: Run evaluations successfully when offload manual executions is true with queue mode (#16307)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1050,11 +1050,10 @@ export class WorkflowExecute {
|
||||
|
||||
private getCustomOperation(node: INode, type: INodeType) {
|
||||
if (!type.customOperations) return undefined;
|
||||
|
||||
if (!node.parameters) return undefined;
|
||||
if (!node.parameters && !node.forceCustomOperation) return undefined;
|
||||
|
||||
const { customOperations } = type;
|
||||
const { resource, operation } = node.parameters;
|
||||
const { resource, operation } = node.forceCustomOperation ?? node.parameters;
|
||||
|
||||
if (typeof resource !== 'string' || typeof operation !== 'string') return undefined;
|
||||
if (!customOperations[resource] || !customOperations[resource][operation]) return undefined;
|
||||
|
||||
Reference in New Issue
Block a user