mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
fix(core): Add executionData to expressions in pagination code (#10926)
This commit is contained in:
@@ -2995,6 +2995,8 @@ const getRequestHelperFunctions = (
|
|||||||
workflow: Workflow,
|
workflow: Workflow,
|
||||||
node: INode,
|
node: INode,
|
||||||
additionalData: IWorkflowExecuteAdditionalData,
|
additionalData: IWorkflowExecuteAdditionalData,
|
||||||
|
runExecutionData: IRunExecutionData | null = null,
|
||||||
|
connectionInputData: INodeExecutionData[] = [],
|
||||||
): RequestHelperFunctions => {
|
): RequestHelperFunctions => {
|
||||||
const getResolvedValue = (
|
const getResolvedValue = (
|
||||||
parameterValue: NodeParameterValueType,
|
parameterValue: NodeParameterValueType,
|
||||||
@@ -3004,8 +3006,6 @@ const getRequestHelperFunctions = (
|
|||||||
additionalKeys?: IWorkflowDataProxyAdditionalKeys,
|
additionalKeys?: IWorkflowDataProxyAdditionalKeys,
|
||||||
returnObjectAsString = false,
|
returnObjectAsString = false,
|
||||||
): NodeParameterValueType => {
|
): NodeParameterValueType => {
|
||||||
const runExecutionData: IRunExecutionData | null = null;
|
|
||||||
const connectionInputData: INodeExecutionData[] = [];
|
|
||||||
const mode: WorkflowExecuteMode = 'internal';
|
const mode: WorkflowExecuteMode = 'internal';
|
||||||
|
|
||||||
if (
|
if (
|
||||||
@@ -3874,7 +3874,13 @@ export function getExecuteFunctions(
|
|||||||
helpers: {
|
helpers: {
|
||||||
createDeferredPromise,
|
createDeferredPromise,
|
||||||
copyInputItems,
|
copyInputItems,
|
||||||
...getRequestHelperFunctions(workflow, node, additionalData),
|
...getRequestHelperFunctions(
|
||||||
|
workflow,
|
||||||
|
node,
|
||||||
|
additionalData,
|
||||||
|
runExecutionData,
|
||||||
|
connectionInputData,
|
||||||
|
),
|
||||||
...getSSHTunnelFunctions(),
|
...getSSHTunnelFunctions(),
|
||||||
...getFileSystemHelperFunctions(node),
|
...getFileSystemHelperFunctions(node),
|
||||||
...getBinaryHelperFunctions(additionalData, workflow.id),
|
...getBinaryHelperFunctions(additionalData, workflow.id),
|
||||||
@@ -4031,7 +4037,13 @@ export function getExecuteSingleFunctions(
|
|||||||
},
|
},
|
||||||
helpers: {
|
helpers: {
|
||||||
createDeferredPromise,
|
createDeferredPromise,
|
||||||
...getRequestHelperFunctions(workflow, node, additionalData),
|
...getRequestHelperFunctions(
|
||||||
|
workflow,
|
||||||
|
node,
|
||||||
|
additionalData,
|
||||||
|
runExecutionData,
|
||||||
|
connectionInputData,
|
||||||
|
),
|
||||||
...getBinaryHelperFunctions(additionalData, workflow.id),
|
...getBinaryHelperFunctions(additionalData, workflow.id),
|
||||||
|
|
||||||
assertBinaryData: (propertyName, inputIndex = 0) =>
|
assertBinaryData: (propertyName, inputIndex = 0) =>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user