When you duplicate a javascript action, at this moment the code is not copied to the new created javascript action. Did look like a bug for me so filed a ticket at support. It appears that it works as designed and that i have to file an idea to get functionality into studio pro.
Looks like a nice improvement if you ask me.
From a UX perspective:
if you copy a page, the content is copied
if you copy a micro flow, the content is copied
if you copy a snippet, the content is copied
so if you copy a Javascript action, you would also expect the content to be copied.
Def seems like a “bug” to me :D
Exactly my reaction :)
I don’t understand how this isn’t classified as a bug. What would even be the point of duplicating a JavaScript action if the code isn’t copied...