Service Board > Service Board for Implementers > Appendix F: Direct Execution
Appendix F: Direct Execution
When technical issues occur, it can be helpful to execute scripts on tenants to check the data and investigate the root cause of the problem. You can use the Direct Execution operation to run Groovy scripts directly on your tenant instances.
On the Direct Execution page in Max Designer, you can enter scripts and call the operation to execute them. After execution, you can view the output in this page, and logs are stored in Execution Log records for easy access. Full execution history with results is retained so that you can review outputs and run scripts again when needed.
* 
Before you import the classes used in your scripts, be sure to check the Groovy Blacklist Classes setting record and remove any classes listed there from your code.
Direct Execution is available only to users with the System Administrator or Developer roles.
To use Direct Execution:
1. In Max Designer, on the Development Actions () launchpad menu, click Direct Execution, and then on the Direct Execution page, in the Select Code Type area, click Groovy.
2. In the code input box, add your script, and then click Execute.
3. To check execution results, in the script input box, call return, and then at the bottom of the page, review the results.
4. To view previous script execution results, in the Execution History list, click a script execution, and if needed, rerun the script.
5. To view execution logs, in Max Designer, on the Developer Tools () launchpad menu, click Objects, and then in the list view, click Execution Log.
6. On the record page, in the top left corner, click List View (), and then in the Execution Logs list view, locate and open the log you want to view.
For more information:
Was this helpful?