Add Common Script
Select the Common Scripts option from the menu

When selecting Add, the user can include a description, select a dependency, and enter the JS code below

Common Scripts
This module allows working with Common Scripts within the selected client, to fulfill the function of reusing, simplifying, and reducing the code of Scripts for Devices and Actions.
Edit Common Script
In the Common Scripts general section, select the three dots on the right side of the screen