mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
take workflow inputs from child workflow workflow inputs
This commit is contained in:
parent
6f66faaabd
commit
7f436a91fb
|
@ -202,7 +202,7 @@ export class ExecuteWorkflow implements INodeType {
|
||||||
loadOptionsDependsOn: ['workflowId.value'],
|
loadOptionsDependsOn: ['workflowId.value'],
|
||||||
resourceMapper: {
|
resourceMapper: {
|
||||||
resourceMapperMethod: 'getWorkflowInputs',
|
resourceMapperMethod: 'getWorkflowInputs',
|
||||||
mode: 'upsert',
|
mode: 'add',
|
||||||
fieldWords: {
|
fieldWords: {
|
||||||
singular: 'workflow input',
|
singular: 'workflow input',
|
||||||
plural: 'workflow inputs',
|
plural: 'workflow inputs',
|
||||||
|
|
|
@ -14,9 +14,9 @@ export async function getWorkflowInputs(
|
||||||
id: col,
|
id: col,
|
||||||
displayName: col,
|
displayName: col,
|
||||||
required: false,
|
required: false,
|
||||||
defaultMatch: col === 'id',
|
defaultMatch: true,
|
||||||
display: true,
|
display: true,
|
||||||
type: 'string',
|
type: 'number',
|
||||||
canBeUsedToMatch: true,
|
canBeUsedToMatch: true,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue