feat(editor): Relocate workflow ID expression notice (no-changelog) (#12942)

This commit is contained in:
Milorad FIlipović
2025-01-31 12:32:18 +01:00
committed by GitHub
parent 1ca6a9799a
commit 066908060f
8 changed files with 488 additions and 5 deletions

View File

@@ -130,7 +130,6 @@ export class ExecuteWorkflow implements INodeType {
},
default: '',
required: true,
hint: "Note on using an expression here: if this node is set to run once with all items, they will all be sent to the <em>same</em> workflow. That workflow's ID will be calculated by evaluating the expression for the <strong>first input item</strong>.",
},
// ----------------------------------
// source:localFile
@@ -270,6 +269,17 @@ export class ExecuteWorkflow implements INodeType {
],
},
],
hints: [
{
type: 'info',
message:
"Note on using an expression for workflow ID: Since this node is set to run once with all items, they will all be sent to the <em>same</em> workflow. That workflow's ID will be calculated by evaluating the expression for the <strong>first input item</strong>.",
displayCondition:
'={{ $rawParameter.workflowId.startsWith("=") && $parameter.mode === "once" && $nodeVersion >= 1.2 }}',
whenToDisplay: 'always',
location: 'outputPane',
},
],
};
methods = {