mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
feat: Update Example Sub-Workflow (#12000)
This commit is contained in:
parent
e2b00a3ce3
commit
2e55cbd764
|
@ -899,23 +899,36 @@ export const NEW_SAMPLE_WORKFLOW_CREATED_CHANNEL = 'new-sample-sub-workflow-crea
|
||||||
export const SAMPLE_SUBWORKFLOW_WORKFLOW: IWorkflowDataCreate = {
|
export const SAMPLE_SUBWORKFLOW_WORKFLOW: IWorkflowDataCreate = {
|
||||||
name: 'My Sub-Workflow',
|
name: 'My Sub-Workflow',
|
||||||
nodes: [
|
nodes: [
|
||||||
|
{
|
||||||
|
parameters: {
|
||||||
|
content: '## Define your inputs in this node',
|
||||||
|
height: 220,
|
||||||
|
width: 300,
|
||||||
|
},
|
||||||
|
id: 'c055762a-8fe7-4141-a639-df2372f30059',
|
||||||
|
name: 'Define your inputs in this node',
|
||||||
|
type: STICKY_NODE_TYPE,
|
||||||
|
position: [120, 280],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: 'c055762a-8fe7-4141-a639-df2372f30060',
|
id: 'c055762a-8fe7-4141-a639-df2372f30060',
|
||||||
name: 'Execute Workflow Trigger',
|
name: 'When called by another workflow',
|
||||||
type: 'n8n-nodes-base.executeWorkflowTrigger',
|
type: EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE,
|
||||||
|
typeVersion: 1.1,
|
||||||
position: [260, 340],
|
position: [260, 340],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: 'b5942df6-0160-4ef7-965d-57583acdc8aa',
|
id: 'b5942df6-0160-4ef7-965d-57583acdc8aa',
|
||||||
name: 'Replace me with your logic',
|
name: 'Replace me with your logic',
|
||||||
type: 'n8n-nodes-base.noOp',
|
type: NO_OP_NODE_TYPE,
|
||||||
|
typeVersion: 1,
|
||||||
position: [520, 340],
|
position: [520, 340],
|
||||||
},
|
},
|
||||||
] as INodeUi[],
|
] as INodeUi[],
|
||||||
connections: {
|
connections: {
|
||||||
'Execute Workflow Trigger': {
|
'When called by another workflow': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue