# Configured Event onActionPerformed Script Run NamedQuery

**URL:** <https://forum.inductiveautomation.com/t/configured-event-onactionperformed-script-run-namedquery/93675>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 24, 2024, 2:52pm UTC](https://forum.inductiveautomation.com/t/configured-event-onactionperformed-script-run-namedquery/93675 "2024-07-24T14:52:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 24, 2024, 2:58pm UTC](https://forum.inductiveautomation.com/t/configured-event-onactionperformed-script-run-namedquery/93675/4 "2024-07-24T14:58:01Z")

</div>

> [@Jeremy\_Edwards1](#):
>
> `system.db.runNamedQuery(str(path, params))`

What's the `str()` function there for?

Please see [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831). Post code - not pictures of code.

---

_[View the full topic](https://forum.inductiveautomation.com/t/configured-event-onactionperformed-script-run-namedquery/93675)._
