Hi @Shalini, I am sorry you’re having trouble. Unfortunately I could not reproduce the problem based on your description.
Are you able to save the workflow? Do you see any error in the server logs when trying to do so? Does the workflow function as expected after saving the workflow?
And does the issue persist when upgrading to the newest available n8n release 1.22.3?
The workflow was running fine for an year, it is saved and scheduled to run every half an hour, but with the recent update only faced the issue.
I will try to upgrade the version, for the workaround instead of picking workflow id({{ $workflow.id }}) in runtime updated it to pick the constant value(49)
Also just wanted to check very fast if it is an execution or a display issue. So is the workflow still running fine without an error but you see this confusing error message just if you look at an execution in the UI? Or does the workflow actually fail because of this?
I am sadly not able to reproduce this issue. I can see that the UI does not display it correctly, but I am somehow unable to make the workflow fail. Can you please post a simple workflow that reproduces this issue we can then have a look. Thanks!