Hey everyone!
i have a workflow that goes through an “IF” node depending on condition that ,for example, this is the 1st run-through for the workflow, if TRUE, it opts to creating Google drive folder, sheets, and docs for that specific run (which, as a run, has its many “loop over items” consequent sub-runs), and then the workflow continues on smoothly. When the time comes for the next sub-run, the “IF” node, by default, takes the FLASE route since it wasnt the 1st run and should continue with the workflow normally (only difference is the google workspace files creation).
part of the workflow is “updating” the docs that was created in the 1st run (TRUE “IF”) which is linked by ID to that creation node. when it tries to update the docs in the 2nd run, it gives the error “The resource you are requesting could not be found
Requested entity was not found.”.
I assume this went smoothly the 1st run since it passed by the creation node and has the ID actively passing through the workflow, but the 2nd time, it didnt, and returned the ID as “undefined”.
i didnt try this out on the rest of the workflow (for the sheets and drive folder), but i assume both will show the same error.
My question is, is there any way to bypass this for the sub-runs, like setting a “SET” node? (although it would be taking the ID from the same 1st TRUE run, so might run into the same error?)
Many thanks!
Information on your n8n setup
- n8n version: 1.72.1
- Database (default: SQLite): not sure
- n8n EXECUTIONS_PROCESS setting (default: own, main): not sure
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker desktop app
- Operating system: windows 10