Has anybody else lost their Python code? It has happened to me twice. I go to run my workflow and see that my few hundred lines of code have been deleted and replaced with the standard default:
Solved! Go to Solution.
it happens with or without those warnings
I'm also experiencing this sporadically, sometimes it's just the last 1-2 lines written, sometimes the entire code section of the python tool is blank when opening it again.
Edit: Scratch that, now every time I open the workflow and go to the 'Interactive' view instead of 'Production' it completely resets the code.. How is this still a bug considering there are threads about this all the way back into 2018?
I regualrly have this problem. Sometimes the code reappears but when this happens is seemingly random. This is after following best practice and saving before the notebook and workflow before closing. This seems to happen more often if the notebook has been inside a tool container that was turned off.
The easy fix is import your script in and this way it only ever be lost. Do your dev elsewhere which is annoying I know.
Hi,
It is 2023 and am running version 2022.1.1.42619 admin designer with no admin privileges and am still having this issue. Has this been resolved or slated to be resolved in future fix packs/releases?