Configured Event onActionPerformed Script Run NamedQuery

What's the str() function there for?

Please see Wiki - how to post code on this forum. Post code - not pictures of code.