mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Execute Workflow Node): Fallback to Passthrough explicitly to avoid exception (no-changelog) (#12384)
This commit is contained in:
@@ -66,7 +66,7 @@ function parseJsonExample(context: IWorkflowNodeContext): JSONSchema7 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getFieldEntries(context: IWorkflowNodeContext): FieldValueOption[] {
|
export function getFieldEntries(context: IWorkflowNodeContext): FieldValueOption[] {
|
||||||
const inputSource = context.getNodeParameter(INPUT_SOURCE, 0);
|
const inputSource = context.getNodeParameter(INPUT_SOURCE, 0, PASSTHROUGH);
|
||||||
let result: FieldValueOption[] | string = 'Internal Error: Invalid input source';
|
let result: FieldValueOption[] | string = 'Internal Error: Invalid input source';
|
||||||
try {
|
try {
|
||||||
if (inputSource === WORKFLOW_INPUTS) {
|
if (inputSource === WORKFLOW_INPUTS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user