System.Function.runScript¶
Description¶
Executes a user-defined custom function asynchronously within the system by its name. This method provides a flexible way to invoke custom logic, optionally passing an array of arguments, and returns a Promise that resolves with the function's result.
Grammar¶
System.Function.runScript(name: string, args?: Array
- P arameter
name - Custom function name
args - Function parameters
- Return
Function result
Code Example¶
Querying male students and displaying in a table.