Overview
This article will provide the steps on how to upgrade to Node 18 or how to downgrade (rollback) to Node 16 or Node 12.
Applies To
- Node.js Runtime
- Actions
Solution
Actions
The runtime of the node used for Actions is set for each Action and must be upgraded individually. To upgrade, use the Upgrade button.
How to upgrade?
- Press the Upgrade button from the UI
- Create new Actions with Node 18 and copying the content from Actions with Node 12 or 16
- Use the Management API to run the Update an action Endpoint. See Trying to Create or Update Actions to Runtime: Node 18 (Recommended) for full details on performing these steps, including the body of the API call
- Terraform Deploy CLI can also be used
How to downgrade (rollback)?
- Press Revert from the UI or Version History: Revert Actions
- Create new Actions with Node 18 without deleting Actions with Node 12
- Use the Management API to run the endpoint Roll back to a previous action version
- Use the Management API to run the endpoints, Update an action & Deploy an action
Other Extensibility Products
Anywhere Node scripts other than Actions are used (Rules / Hooks / Custom Database Action Scripts / Custom Social Connections), the tenant-wide settings are referred to.
How to upgrade?
- Select Node 18 in the Dashboard
How to downgrade (rollback)?
- Use the Management API endpoint Update tenant settings endpoint. Roll back by modifying
sandbox_version.
Unlike with Actions, this applies to all runtimes used by all rules, hooks, and custom database scripts in the tenant.