Scripting
This functionality enables the customization and automation of specific workflows for each tenant without impacting others. Using configurable scripts, administrators can define actions, processes, and business rules tailored to the specific needs of each tenant.
This flexibility supports the creation of personalized experiences, enhancing operational efficiency and the adaptability of the application.
Access to the script configuration is available through the menu located on the left side of Lynn's main interface.
The main view of the Scripting option displays information in a table format, including the following details:
- Name: A unique identifier or descriptive title that allows quick identification and distinction of the script. It should ideally be concise and representative of its purpose.
- Description: A detailed summary of the script's functionality, including its purpose, usage context, and execution conditions.
- Created by: Identifies the author of the script, facilitating follow-up with the responsible person for inquiries or updates.
- Edited by: Indicates who last modified the script, providing clear traceability of changes and the relevant contact person for recent adjustments.
Guide to creating a Script
Once in the main view of the Scripting module:
-
Click on the Add button located in the top-right corner of the view.
This updates the view to display a set of fields required for creating and customizing the script.
-
Complete the required fields:
-
Name: A String field for the script's unique and descriptive identifier.
- Description: A String field detailing the script's purpose and functionality
- Security: A Checklist field to configure access levels and permissions.
- Code: An area to input the script's programmed logic.
-
Preview: A preview to validate the script's behavior.
At the bottom, there are four buttons:
- Test: Runs the script to verify its functionality before saving it. It will open in a new browser tab.
- Variables and Functions: Displays a list of variables and functions available to use in the script.
- Create: Saves the script without closing the current view.
- Create and Close: Saves the script and returns to the main screen.
-
Once the script is configured and created, it will appear in the initial table. The scripts for the tenant will be listed as they are created, and actions such as Edit and Delete can be performed on them.