{
"name": "Trigger workflow",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "da85ad5a-a463-46c1-963e-da92f553a228",
"name": "When clicking ‘Test workflow’"
},
{
"parameters": {
"workflowId": {
"__rl": true,
"value": "dtyYU2lB0OeyDJVZ",
"mode": "list",
"cachedResultName": "Test project 2 — My workflow 4"
},
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {},
"matchingColumns": [],
"schema": [],
"attemptToConvertTypes": false,
"convertFieldsToString": true
},
"options": {}
},
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1.2,
"position": [
220,
0
],
"id": "929ebc34-16b9-419f-adeb-e78f8fbc4a4a",
"name": "Execute Workflow"
}
],
"pinData": {},
"connections": {
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Execute Workflow",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "a1f175c1-98cd-465c-bdb1-c35a24a64ef3",
"meta": {
"instanceId": "94a4722c99e67331d954b7292a159d350b5424049db5ee23fe2d0df7fe09b001"
},
"id": "RZAzIjhXw7KekE4C",
"tags": []
}
Bug Description
Not sure how to describe this issue correctly, thats why I attached a lot of images to explain the issue.
Basically I can't call a workflow in the same project, due to permission issues when I moved it from another project.
To Reproduce
Create 2 projects

Create following workflow in project 1


Workflow JSON
{ "name": "Trigger workflow", "nodes": [ { "parameters": {}, "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [ 0, 0 ], "id": "da85ad5a-a463-46c1-963e-da92f553a228", "name": "When clicking ‘Test workflow’" }, { "parameters": { "workflowId": { "__rl": true, "value": "dtyYU2lB0OeyDJVZ", "mode": "list", "cachedResultName": "Test project 2 — My workflow 4" }, "workflowInputs": { "mappingMode": "defineBelow", "value": {}, "matchingColumns": [], "schema": [], "attemptToConvertTypes": false, "convertFieldsToString": true }, "options": {} }, "type": "n8n-nodes-base.executeWorkflow", "typeVersion": 1.2, "position": [ 220, 0 ], "id": "929ebc34-16b9-419f-adeb-e78f8fbc4a4a", "name": "Execute Workflow" } ], "pinData": {}, "connections": { "When clicking ‘Test workflow’": { "main": [ [ { "node": "Execute Workflow", "type": "main", "index": 0 } ] ] } }, "active": false, "settings": { "executionOrder": "v1" }, "versionId": "a1f175c1-98cd-465c-bdb1-c35a24a64ef3", "meta": { "instanceId": "94a4722c99e67331d954b7292a159d350b5424049db5ee23fe2d0df7fe09b001" }, "id": "RZAzIjhXw7KekE4C", "tags": [] }Workflow JSON
{ "name": "Sub workflow", "nodes": [ { "parameters": { "inputSource": "passthrough" }, "type": "n8n-nodes-base.executeWorkflowTrigger", "typeVersion": 1.1, "position": [ -140, 0 ], "id": "0e480812-7a7b-4737-bff7-1f492a495530", "name": "When Executed by Another Workflow" }, { "parameters": { "options": {} }, "type": "n8n-nodes-base.set", "typeVersion": 3.4, "position": [ 60, 0 ], "id": "d244cd27-d611-42c5-bd4e-7cdeca661b0b", "name": "Edit Fields" } ], "pinData": {}, "connections": { "When Executed by Another Workflow": { "main": [ [ { "node": "Edit Fields", "type": "main", "index": 0 } ] ] } }, "active": false, "settings": { "executionOrder": "v1" }, "versionId": "5831d676-4081-4b1d-98ce-04746dc01d37", "meta": { "instanceId": "94a4722c99e67331d954b7292a159d350b5424049db5ee23fe2d0df7fe09b001" }, "id": "dtyYU2lB0OeyDJVZ", "tags": [] }Ensure the correct workflow is called in project 1, it needs to call the sub workflow in project 2.
Change the ".. can be called by" to following settings, to it can be called by another project:

Test it once, it should run perfectly fine:


Now move the trigger workflow from project 1 to project 2:

Change the "... can be called by" to same project, because both workflows are now in the same project right?


Then execute it again and notice its not in the same project:

Expected behavior
Workflow should be able to execute fine if in same project and allow workflows from the same project.
Debug info
core
storage
pruning
client
Generated at: 2025-03-12T04:26:05.752Z
Operating System
docker (self-hosted)
n8n Version
1.82.1
Node.js Version
20.18.3
Database
PostgreSQL
Execution mode
queue