auto_stories Knowledge Base chevron_right Actions chevron_right Article

Run Javascript Codev5

The Run Javascript Code action runs the JavaScript code written in the action's query box in the user's browser. Use it for small interface tasks that built-in actions do not cover (focusing a field, custom formatting, etc.).

WarningThe code runs with the user's session. Do not insert user-entered values directly into the code. Use server-side actions and queries for persistent data operations and permission checks; code in the browser can be bypassed.