Skip to content

Commit

Permalink
modify execute workflow parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
igatanasov committed Nov 21, 2024
1 parent cd5ad65 commit a5bc5c5
Showing 1 changed file with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class ExecuteWorkflow implements INodeType {
icon: 'fa:sign-in-alt',
iconColor: 'orange-red',
group: ['transform'],
version: [1, 1.1],
version: [1, 1.1, 1.2],
subtitle: '={{"Workflow: " + $parameter["workflowId"]}}',
description: 'Execute another workflow',
defaults: {
Expand Down Expand Up @@ -67,6 +67,27 @@ export class ExecuteWorkflow implements INodeType {
],
default: 'database',
description: 'Where to get the workflow to execute from',
displayOptions: { show: { '@version': [{ _cnd: { lte: 1.1 } }] } },
},
{
displayName: 'Source',
name: 'source',
type: 'options',
options: [
{
name: 'Database',
value: 'database',
description: 'Load the workflow from the database by ID',
},
{
name: 'Define below',

Check failure on line 83 in packages/nodes-base/nodes/ExecuteWorkflow/ExecuteWorkflow.node.ts

View workflow job for this annotation

GitHub Actions / Lint / Lint

Change to title case [autofixable]
value: 'parameter',
description: 'Pass the JSON code of a workflow',
},
],
default: 'database',
description: 'Where to get the workflow to execute from',
displayOptions: { show: { '@version': [{ _cnd: { gte: 1.2 } }] } },
},

// ----------------------------------
Expand Down Expand Up @@ -163,6 +184,7 @@ export class ExecuteWorkflow implements INodeType {
name: 'executeWorkflowNotice',
type: 'notice',
default: '',
displayOptions: { show: { '@version': [{ _cnd: { lte: 1.1 } }] } },
},
{
displayName: 'Mode',
Expand Down

0 comments on commit a5bc5c5

Please sign in to comment.