Searching in custom scripts
Scripts often need retrieve records from your database to perform some function. For example, if you wanted to contact all students who are enrolled in a class starting tomorrow, you would need to retrieve all classes that start tomorrow from the database.
Add a query panel to your script like this.
The results of this query are then available to you in your script in the variable 'records'. You can use this to perform additional actions in the script.
Read more information on custom scripts here in our scripts chapter.
Updated 6 months ago