When doing the same in previous versions (tried 7.6.0, 7.9.2 and 2021.1.0) the python code is executed but “undefined” is always returned.
Is this mismatch expected? If yes, is there a different way of running the python code in previous versions - especially 2021.1.0 - so that the value can be returned?
ps. apologies if this is already answered in the docs or release notes - I searched in them, but could not find something.