fix(Execute Workflow Node): Fallback to Passthrough explicitly to avoid exception (no-changelog) (#12384)

This commit is contained in:
Charlie Kolb 2025-01-07 09:32:51 +01:00 committed by GitHub
parent f609371257
commit 8dd4f1aea9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,7 +66,7 @@ function parseJsonExample(context: IWorkflowNodeContext): JSONSchema7 {
}
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';
try {
if (inputSource === WORKFLOW_INPUTS) {